Here's a breakdown:
* Magma: Melted rock *beneath* the Earth's surface.
* Lava: Melted rock that has erupted *onto* the Earth's surface.
* Igneous Rock: Rock formed when magma or lava cools and solidifies.
Let me know if you have any other questions!