what are the different types of rocks?
Rocks are classified based on their origin and composition. The most common types of rocks found on Earth are igneous, sedimentary, and metamorphic. Igneous rocks form through the cooling and solidification of molten magma or lava. They can be further classified based on their texture. Sedimentary rocks form when particles of sediment are compacted and cemented together over time. Metamorphic rocks form when existing rocks are transformed by heat, pressure, or both. Each type of rock has unique properties and can be used for various purposes, such as building materials, jewelry, ornaments, or decorative purposes.