Regions of volcanic activity - ground hot.
When cold water pumped into ground , it’ll be heated by hot rocks.
We pump this hot water back up, it’ll heat our homes.
We let heat so much - it evaporates to steam.
Steam used to turn turbine, which drives generator to produce electricity.