Volcanoes are formed when magma from the Earth's upper mantle works its way to the surface and erupts. There are over 1,500 active volcanoes on Earth. Volcanic eruptions occur when pressure builds up from magma and gases below the Earth's crust, causing rock and lava to shoot from the volcano in explosive eruptions. Eruptions can cause dangerous flows of lava, ash, mudslides and floods that threaten nearby areas.