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