Here's a breakdown:
* Magma: Molten rock found beneath the Earth's surface.
* Lava: Magma that has erupted onto the Earth's surface.
* Igneous Rock: Forms when magma or lava cools and solidifies.
There are two main types of igneous rocks:
* Intrusive igneous rocks: Formed when magma cools and solidifies beneath the Earth's surface. These rocks typically have larger crystals because they cool slowly. Examples include granite and gabbro.
* Extrusive igneous rocks: Formed when lava cools and solidifies on the Earth's surface. These rocks often have smaller crystals because they cool quickly. Examples include basalt and obsidian.