Here's how rocks are classified based on their formation:
* Igneous rocks: Formed from the cooling and solidification of molten rock (magma or lava).
* Intrusive igneous rocks: Cool and solidify beneath the Earth's surface.
* Extrusive igneous rocks: Cool and solidify on the Earth's surface.
* Sedimentary rocks: Formed from the accumulation and cementation of sediments.
* Clastic sedimentary rocks: Formed from fragments of other rocks.
* Chemical sedimentary rocks: Formed from the precipitation of minerals from a solution.
* Organic sedimentary rocks: Formed from the accumulation of organic matter.
* Metamorphic rocks: Formed when existing rocks (igneous, sedimentary, or other metamorphic rocks) are transformed by heat, pressure, or chemical reactions.
Note: While the term "genetic" is not used in the classification of rocks, it is sometimes used to describe the process of rock formation. For example, "igneous rocks are of magmatic origin," referring to their genetic formation from molten rock.
If you're interested in learning more about the classification of rocks, I recommend exploring resources on igneous, sedimentary, and metamorphic rocks.