How is geothermal energy produced?

A. By harnessing hot water and steam that comes out of the ground.

B. By using the wind to generate energy.

C. By treating dead plants and animals and turning them into fuel

D. By collecting heat from the sun.