A volcanic eruption is when lava flows out of the top of a volcano. The lava may run down the side or it can shoot up into the air. When the lava cools, it hardens into rock.