Dig down and the ground gets warmer. Near volcanoes it gets very hot, very soon, and water trapped in the rock becomes far hotter than a boiling kettle. Let that water up and it bursts into steam, strong enough to spin a wheel and make electricity.
The tour takes about two minutes. You don't need to know any science first.