Lava is hot, liquefied rock that flows from a volcano or other opening in the surface of Earth. When the hot liquid rock is still underground it is known as magma. Igneous rock is formed when lava cools and hardens. Molten, or hot liquefied, rock located deep below the Earth's surface is called magma.
Please put brainliest hope this helps... :)