Here's a more detailed explanation:
* Magma: Molten rock found beneath the Earth's surface.
* Lava: Magma that has erupted onto the Earth's surface.
When magma or lava cools and solidifies, it forms igneous rocks. These rocks are classified based on their mineral composition and texture, which are determined by the cooling rate and chemical composition of the original magma or lava.
While magma and lava are the primary component, igneous rocks also contain:
* Minerals: The specific minerals present in an igneous rock depend on the composition of the original magma or lava. Common minerals include quartz, feldspar, mica, and pyroxene.
* Gases: Magma and lava often contain dissolved gases, such as water vapor, carbon dioxide, and sulfur dioxide. These gases can escape during the cooling process, leaving behind small holes or cavities in the rock.
So, in summary, igneous rocks are essentially solidified magma or lava, with specific mineral compositions and textures that depend on the original magma or lava's composition and cooling rate.