 Infrared radiation, which is how Earth sheds heat into space, spans a long range of wavelengths. Greenhouse gases like carbon dioxide and even water vapor can capture radiation at some of those wavelengths. But at some other wavelengths, there's no natural molecule that's good at absorbing it.