Volcanoes produce geothermal energy, which are used to generate heat. When a volcanoes erupts, a large amount of ash is ejected. This ashes can be extremely damaging to the environment in the brief period, but over time, the ash layer, which includes many valuable minerals, will be transformed into a highly productive soil.