Igneous rock Igneous rock Igneous rock (derived from the Latin word "ignis" meaning fire), or magmatic rock, is one of the three main rock types, the others being sedimentary and metamorphic. Igneous rock is formed through the cooling and solidification of magma or lava. The magma can be derived from partial melts of existing rocks in either a planet's mantle or crust. Typically, the melting is caused by one or more of three processes: an increase in temperature, a decrease in pressure, or a change in composition. Solidification into rock occurs either below the surface as intrusive rocks or on the surface
Magma (the extrusive equivalents of gabbro, diorite and granite, respectively). During a volcanic eruption the magma that leaves the underground is called lava. Lava cools and solidifies relatively quickly compared to underground bodies of magma. This fast cooling does not allow crystals to grow large, and a part of the melt does not crystallize at all, becoming glass. Rocks largely composed of volcanic glass include obsidian, scoria and pumice. Before and during volcanic eruptions, volatiles such as CO and HO partially leave the melt through a process known as exsolution. Magma with low water content becomes increasingly viscous. If massive exsolution