A volcanic eruption happens when hot rock, ash, and gas burst from a volcano, and it helps scientists learn about what lies under the ground.

A volcanic eruption is when hot rock, ash, gas, or melted rock comes out of a volcano through a vent or fissure. Eruptions can look different from one volcano to another.
Eruptions happen for three main reasons. Magmatic eruptions occur when gas in molten rock expands and bursts out, steam-driven eruptions happen when hot ground or rock heats nearby water so it turns to steam and blasts rocks and ash, and a third type happens when hot magma meets water, making steam and fragments fly out.
Hawaiian eruptions are the calmest magmatic style. Very runny lava called basalt flows out smoothly and quietly, spreading to build a broad shield volcano, because the lava has little gas it usually oozes instead of exploding.
Strombolian eruptions happen when gas bubbles inside the magma grow into large slugs that rise and burst at the surface, throwing glowing bits of magma. They are noisier and jumpier than Hawaiian eruptions and can fling bombs and lapilli, forming a small cone around the vent.
A Plinian–Peléan eruption makes very tall columns of ash and gas that can travel far in the sky. In some volcanoes, a thick lava dome or spine grows and then collapses, and the hot rock and ash can rush down the mountain as a fast, glowing pyroclastic flow.
A phreatic eruption happens when water touches very hot rock or magma and turns to steam. The steam blasts out pieces that were already there and can send clouds of ash, wet mud flows called lahars, and base surges.