The balance between energy from the sun and energy radiated back to space determines the temperature of the Earth.