A description applied to a rock formed by the cooling and solidification of a magma (molten rock), either below or on the surface of a planetary body. Igneous rocks are said to be extrusive if they solidify on the surface of a planet, and intrusive if they solidify at depth beneath the crust.