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 :)
9.4m questions
12.1m answers