Here's a breakdown:
* Sedimentary rocks are formed from the accumulation and cementation of sediments like sand, mud, or organic matter.
* Metamorphism is the process of changing existing rocks (including sedimentary rocks) by heat, pressure, and/or chemically active fluids. These conditions exist deep within the Earth's crust.
* Metamorphic rocks are the result of this transformation. They have a different texture and mineral composition than the original sedimentary rock.
Examples of metamorphic rocks formed from sedimentary rocks:
* Marble formed from limestone
* Slate formed from shale
* Quartzite formed from sandstone
The depth and duration of burial, as well as the specific conditions of heat, pressure, and fluids, determine the type of metamorphic rock that forms.