Please follow
https://www.eia.gov/energyexplained/geothermal/
.