Magma

Naturally occurring molten rock material generated within Earth and capable of intrusion into surrounding rocks or extrusion onto the Earth's surface. When extruded on the surface it is called lava. The material from which igneous rocks form through cooling, crystallization, and related processes.