mechanisms of green house effect
UV wavelength radiation passes through Earth's surface to heat it up, Earth radiates out infrared long wavelength radiation
C=O bonds in CO2 absorb IR radiation so it does not escape from atmosphere, this energy is transferred to other molecules in the atmosphere by collisions so the atmosphere is warmed