human
How is a volcano formed?
assistant
A volcano is formed when molten rock, called magma, erupts through the surface of the earth. The magma is pushed up from deep inside the earth and eventually comes to the surface where it cools and solidifies into volcanic rock. This process creates a cone-shaped structure that can reach thousands of feet high.