The incoming infrared radiation from the sun as it travels towards the earth is absorbed by carbon dioxide and gaseous water molecules in the earth atmosphere. If this does not occur, the radiation that would be transmitted to the earth would be powerful enough to burn exposed skins.