Answer:
During the day the sun shines through the atmosphere, then the surface of the earth warms up due to the sunlight. In the evening, the surface of the earth is able to cool and releases the heat back into the air. This is called the greenhouse effect because carbon dioxide (and other gasses in the atmosphere) do what the roof of a green house does.