Intrusive rock formed from magma that cools and solidifies within the crust of the planet. In contrast, an "extrusion" consists of extrusive rock; rock formed above the surface of the crust. Large bodies of magma that solidify underground before they reach the surface of the crust are called plutons. Plutonic rocks form 7% of the Earth's current land surface. Coarse-grained intrusive igneous rocks that form at depth within the earth are called "abyssal" while those that form near the surface are called subvolcanic or "hypabyssal". Intrusive structures are often classified according to whether or not they are parallel to the bedding planes
Magma known processes by which magma changes: by crystallization within the crust or mantle to form a pluton, or by volcanic eruption to become lava or tephra. When magma cools it begins to form solid mineral phases. Some of these settle at the bottom of the magma chamber forming cumulates that might form mafic layered intrusions. Magma that cools slowly within a magma chamber usually ends up forming bodies of plutonic rocks such as gabbro, diorite and granite, depending upon the composition of the magma. Alternatively, if the magma is erupted it forms volcanic rocks such as basalt, andesite and rhyolite