Constants are fixed values that cannot change during the script execution. Unlike variables, they remain constant throughout the program.