Geothermal electricity takes steam from hot water, and uses it to spin/rotate a turbine. This turbine activates a generator, which then produces electricity. By drilling into the ground and accessing underground resources of steam, that steam can then be piped directly from beneath the ground to the generator unit.