human
How is a volcano formed?
assistant
A volcano is formed when magma (molten rock) rises from the earth’s mantle and erupts onto the surface of the earth. This molten rock is called lava, and it flows down the side of the volcano and cools to form a solidified layer of rock called a lava flow or volcanic ash. The cooled lava then hardens into the volcanic cone that forms the shape of the volcano.