human
How is a volcano formed?
assistant
A volcano is formed when magma, or molten rock, rises through the crust of the Earth. As it reaches the surface, it cools and hardens into a solid form called a lava dome. This forms the base of the volcano. Over time, the lava dome can build up enough pressure to cause an eruption, which sends out ash and gas.