Greenhouse gases in the atmosphere (such as water vapor and carbon dioxide) absorb most of the Earth's emitted longwave infrared radiation, which heats the lower atmosphere.
˙Hope this helps :)
5.8m questions
7.5m answers