Question: what is the type of rock formed when magma or lava cools?
Answer: The two main categories of igneous rocks are extrusive and intrusive. Extrusive rocks are formed on the surface of the Earth from lava, which is magma that has emerged from underground. Intrusive rocks are formed from magma that cools and solidifies within the crust of the planet.