I am looking for a molecular-level understanding of the greenhouse effect.
What is it about the carbon-dioxide molecule (and methane, and water, etc) that is different from other gasses (particularly, N2 and O2) such that it works in the atmosphere to trap heat?
Is it, say, the distance between nuclei in the molecules relative to the wavelengths of infrared light? Dipolarity of the molecule? A combination of various factors?