Question: what type of rock is formed when magma cools and solidifies?
Answer: Igneous rocks form when magma (molten rock) cools and crystallizes, either at volcanoes on the surface of the Earth or while the melted rock is still inside the crust.