Lava is molten rock that erupts from volcanoes. When it cools and solidifies, it becomes igneous rock.