Magma is the molten material beneath the Earth's crust. It usually collects in a magma chamber beneath a volcano, and can then be injected into cracks in rocks or issue out of volcanoes in eruptions.