How does a Volcano Work?

Volcanoes work kind of like a shook up bottle of pop. Lava fills up the volcano and pressure builds up, and when the pressure builds up high enough the cap of earth than covers the hole of the volcano bursts and the volcano explodes.