Hot water is pumped from deep underground through a well under high pressure when the water reaches the surface the pressure is dropped which causes the water to turn into steam the steam spins a turbine which is connected to a generator that produces electricity