Molten rock usually located deep within the mantle of the Earth that occasionally comes to the surface through cracks in the mantle or through the eruption of volcanoes.
When magma cools and solidifies, it forms igneous rock, of which lava is one type.