is pyrite a sedimentary rock?
It occurs as an accessory mineral in igneous rocks, in vein deposits with quartz and sulfide minerals, and in sedimentary rocks, such as shale, coal, and limestone. ... Pyrite occurs in large deposits in contact metamorphic rocks. Deposits of copper-bearing pyrite are widely distributed and often of great size.