Question: how are volcanic rocks formed?
Answer: Extrusive igneous rocks, also known as volcanic rocks, are formed at the crust's surface as a result of the partial melting of rocks within the mantle and crust. Extrusive igneous rocks cool and solidify more quickly than intrusive igneous rocks. They are formed by the cooling of molten magma on the earth's surface.