Here's a breakdown:
* Magma: Molten rock found beneath the Earth's surface.
* Lava: Magma that erupts onto the Earth's surface.
* Igneous Rocks: Rocks formed when magma or lava cools and solidifies.
There are two main types of igneous rocks:
* Intrusive igneous rocks: Formed when magma cools and solidifies slowly underground. These rocks have large crystals because they have more time to grow. Examples include granite and gabbro.
* Extrusive igneous rocks: Formed when lava cools and solidifies quickly on the Earth's surface. These rocks have smaller crystals or no crystals at all. Examples include basalt and obsidian.