https://www.google.com/search?q=google+images&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjln-yx5cfTAhWCYiYKHVDaACgQ_AUICigB&biw=1260&bih=655&dpr=2#tbs=sur:fc&tbm=isch&q=volcanoes&imgdii=rSlIDF7J0VxrsM:&imgrc=-gBVwBbd1RdtCM:

How Do Volcanoes Work?

Magma collects in large pockets and moves up a tunnel or central vent as it is leaving. Sometimes it can escape from the sides of the volcano, but most magma erupts at the top of the volcano through a bowl-shaped crater.