Hot melted rocks collect under the Earth's surface and when the pressure becomes too hard, the Earth's skin breaks, and a volcano erupts. The melted rock inside the Earth is called magma, but when it comes out in an eruption, it is called lava.
Plates are like the Earth's skin. They are called the Earth's mantle, and they float on the magma. Sometimes the plates separate, and that creates even more red-hot liquid rock. The Earth has to relieve the pressure in the form of a volcanic eruption. After the eruption, the lava spreads out, cools down and hardens into rock, but hot magma remains under the surface.
In the Pacific Ocean, 75 percent of all volcanoes are located in an area called the Ring of Fire, where two of the Earth's plates meet. Some volcanoes are cone-shaped mountains, some are flat-topped like mountain plateaus, some have fissure vents, which are cracks where the lava escapes, and others bulge like domes. There are even volcanoes on the ocean floor and under the icecaps in Iceland.
Volcanoes also happen on other planets in the solar system. On Mars there is a volcano called Olympus Mons, and it is 373 miles wide and 13 miles high. The most volcanic activity in the solar system is on one of Jupiter's moons.