1. Electromagnetic radiation at most wavelengths from the sun passes through the Earth's atmosphere
2. The Earth absorbs some radiation and warms up
3. Some heat is radiated from the Earth as infrared radiation
4. Some of this IR radiation is absorbed by greenhouse gases in the atmosphere
5. Atmosphere warms up leading to the greenhouse effect and global warming