Water vapours and certain gases in the atmosphere absorb infrared radiations, causing what is called the greenhouse effect. These infrared radiations come from materials on the earth's surface that have been heated by sunlight. These absorbed infrared radiations heat up the atmosphere.