Infrared radiation is absorbed by greenhouse gases, which in turn re-radiate much of the energy to the surface and lower atmosphere.
The Lost World of James Smithson: Science, Revolution, and the Birth of the Smithsonian.