Human: How does geothermal energy work? Assistant: 
Geothermal energy is energy that is stored in the Earth. It is a renewable energy source because the heat is constantly being produced by the Earth’s core. Geothermal energy is used to heat and cool buildings, and to generate electricity. It is also used to heat water for domestic and industrial use.