The correct response is:
Greenhouse gases absorb the sun's energy, slowing or preventing heat from escaping into space.
This describes the greenhouse effect, where certain gases in the Earth's atmosphere trap heat, leading to an increase in the planet's temperature.