evidence: During the day, the sun shines through the atmosphere, warming the earth’s surface. At night the earth's surface cools, releasing heat back into the air. But some of the heat is trapped by the greenhouse gases in the atmosphere. That's what keeps the earth’s temperature at an average 14˚C (57˚F).