Magma
This article is about the type of rock. For magmas in mathematics, see Magma (algebra). For the experimental jazz band, see Magma (band). For the computer algebra system, see Magma computer algebra system. For the EDA software company, see Magma Design Automation.
Magma is molten rock often located inside a magma chamber beneath the surface of the Earth. Magma is a complex high-temperature silicate solution that is ancestral to all igneous rocks, both intrusive and extrusive. Magma is under high pressure and sometimes emerges through volcanic vents in the form of flowing lava and pyroclastic ejecta. These products of a volcanic eruption usually contain dissolved gases which have never before reached the planet's surface. Magma collects in many separate magma chambers within the Earth's crust, and will have slightly different compositions in different places.