How do greenhouse gases affect Earth’s environment?

A. They pollute Earth’s atmosphere.

B. They cause extremes in atmospheric temperature.

C. They decrease the growth of crops used for food.

D. They trap the sun’s heat energy near Earth’s surface.

D. They trap the sun’s heat energy near Earth’s surface.

The correct answer is D. Greenhouse gases trap the sun's heat energy near Earth's surface.