Why glasses and greenhouse gases don't allow the infra-ray-radiation to go out .
The wavelength of infrared light is long and possess low energy. When this light enters through glass, its wavelength decreases and there is increase in energy. This radiation of light with new wavelength is not able to escape through glass thereby causing the heating of inner surface.