How Geothermal Energy Is Generated