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
Lava dome extrusive products of lava domes. Domes may reach heights of several hundred meters, and can grow slowly and steadily for months (e.g. Unzen volcano), years (e.g. Soufrière Hills volcano), or even centuries (e.g. Mount Merapi volcano). The sides of these structures are composed of unstable rock debris. Due to the intermittent buildup of gas pressure, erupting domes can often experience episodes of explosive eruption over time. If part of a lava dome collapses and exposes pressurized magma, pyroclastic flows can be produced. Other hazards associated with lava domes are the destruction of property from lava flows, forest fires, and lahars