Igneous rocks include rocks that have solidified from a melt (magma) either below the surface of a planet or natural satellite as intrusives or on the surface as extrusives or volcanic eruptions.