How do sedimentary rocks differ from igneous and metamorphic rocks?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Sedimentary rocks are formed from deposited and lithified mineral material, often containing fossils. In contrast, igneous rocks are created from the cooling and solidification of molten earth material, known as magma. Metamorphic rocks are formed when existing rocks are transformed by heat, pressure, and chemically active solutions, essentially recrystallizing in a solid state rather than melting. The texture of sedimentary rocks is determined by the size, shape, and arrangement of their grains, while igneous rock texture is primarily influenced by cooling rate, and metamorphic rock texture is characterized by the arrangement of crystals, often resulting in foliation.1234