Peridotite is derived from the Earth's mantle, either as solid blocks and fragments, or as crystals accumulated from magmas that formed in the mantle.