While minerals can be found in different types of rocks, peridot itself is primarily formed in igneous rocks.
Here's why:
* Igneous Rocks: Peridot forms deep within the Earth's mantle, where it crystallizes from molten rock (magma). When volcanic eruptions bring this magma to the surface, peridot crystals can be found within the solidified lava.
* Metamorphic Rocks: Peridot can also be found in metamorphic rocks that were originally igneous. The intense heat and pressure of metamorphism can change the original igneous rock, but the peridot crystals within it may remain intact.
* Sedimentary Rocks: Peridot is rarely found in sedimentary rocks. Sedimentary rocks are formed from the accumulation and cementation of sediments, and peridot crystals are typically too hard and resistant to weathering to survive the process of becoming sediment.
So, while peridot's origin is primarily igneous, you might find it in metamorphic rocks as well.