Here's a breakdown:
* Rocks formed from other rocks (igneous, metamorphic, sedimentary):
* Igneous rocks form from the cooling and solidification of magma or lava.
* Metamorphic rocks form when existing rocks are transformed by heat, pressure, or chemical reactions.
* Sedimentary rocks form from the accumulation and cementation of sediments, which can be derived from the weathering and erosion of other rocks.
* Rocks not formed from other rocks:
* Evaporites: These rocks form when minerals precipitate out of water as it evaporates, like halite (rock salt) and gypsum.
* Precipitates: These rocks form when minerals precipitate out of water due to changes in temperature, pressure, or chemical composition, like limestone and chert.
* Crystalline rocks: These rocks form directly from the crystallization of minerals, like quartz and feldspar.
Therefore, while many inorganic rocks are formed from the breakdown and transformation of other rocks, some form through entirely different processes.