Explain how, geothermal energy is used to generate electricity.
The hot rocks inside the earth heat the underground water and turn it into steam. As more and more steam is formed between the rocks, it gets compressed to high pressures. A hole is drilled into the earth up to the hot rocks and a pipe is put into it. The steam present around the rocks comes up through the pipe at high pressure, which turns the turbine of a generator and thus produces electricity.