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
Igneous rock commonly erupt explosively, and rhyolitic lava flows are typically of limited extent and have steep margins, because the magma is so viscous. Felsic and intermediate magmas that erupt often do so violently, with explosions driven by the release of dissolved gases—typically water vapour, but also carbon dioxide. Explosively erupted pyroclastic material is called tephra and includes tuff, agglomerate and ignimbrite. Fine volcanic ash is also erupted and forms ash tuff deposits, which can often cover vast areas. Because lava usually cools and crystallizes rapidly, it is usually fine-grained. If the cooling has been so rapid as to prevent the formation