Geothermal energy is heat generated and stored in the Earth. It can be extracted and used to heat buildings through geothermal heat pumps or to generate electricity in geothermal power plants. There are three main types of geothermal power plants - dry steam, flash steam, and binary cycle plants - which convert geothermal reservoirs of steam or hot water into electricity using turbines. Geothermal energy has advantages of being renewable and reducing carbon emissions, but also has disadvantages like potential induced seismic activity and greenhouse gas emissions from geothermal reservoirs.