Answer:
Because Greenhouse gases let the sun's light shine onto the Earth's surface, but they trap the heat that reflects back up into the atmosphere. And this way, they act like the glass walls of a greenhouse. This greenhouse effect also keeps the Earth warm enough to sustain life.
Step-by-step explanation: