Here's a breakdown:
* Igneous rocks are formed from the cooling and solidification of magma (molten rock beneath the Earth's surface) or lava (molten rock that has erupted onto the Earth's surface).
There are two main types of igneous rocks:
* Extrusive igneous rocks: These are formed when lava cools and solidifies on the Earth's surface. They tend to have smaller crystals because they cool quickly. Examples include basalt, rhyolite, and obsidian.
* Intrusive igneous rocks: These are formed when magma cools and solidifies beneath the Earth's surface. They have larger crystals because they cool more slowly. Examples include granite, gabbro, and diorite.
So, the next time you see a rock with a smooth, glassy texture or a rough, grainy texture, you might be looking at a piece of the Earth's fiery past!