Magma be stored in magma chambers or trans-crustal crystal-rich mush zones. During their storage in the crust, magma compositions may be modified by fractional crystallization, contamination with crustal melts, magma mixing, and degassing. Following their ascent through the crust, magmas may feed a volcano or solidify underground to form an intrusion (e.g., an igneous dike or a sill). While the study of magma has historically relied on observing magma in the form of lava flows, magma has been encountered in situ three times during geothermal drilling projects—twice in Iceland (see Magma usage for energy production), and once in Hawaii. Most magmatic
Intrusive rock at shallow depth and are called "subvolcanic" or "hypabyssal". They show structures intermediate between those of extrusive and plutonic rocks. They are very commonly porphyritic, vitreous, and sometimes even vesicular. In fact, many of them are petrologically indistinguishable from lavas of similar composition. Intrusive rock Intrusive rock (also called plutonic rock) is formed when magma crystallizes and solidifies underground to form "intrusions", for example plutons, batholiths, dikes, sills, laccoliths, and volcanic necks. Intrusive rock forms within Earth's crust from the crystallization of magma. Many mountain ranges, such as the Sierra Nevada in California, are formed mostly from large granite (or