Magma
Magma is molten or partially molten rock beneath Earth’s surface that contains liquid melt, solid crystals, and dissolved gases. Its composition, temperature, and volatile content control viscosity, storage and transport in the crust, and the style of volcanic eruptions once it reaches the surface as lava.