evidence: Earth absorbs energy from sunlight, but as the surface warms, it also emits energy in the form of infrared radiation (which we know of as heat) out into space. Water vapor and CO2, however, act like a cap, making it more difficult for Earth to get rid of this energy. Without gases like these to absorb the energy, our planet’s average surface temperature would have been near zero degrees Fahrenheit.