Here's why:
* Formation: Sedimentary rocks are formed from the accumulation and cementation of sediments like sand, mud, and organic material. These sediments often contain the remains of ancient organisms.
* Preservation: The process of sedimentary rock formation can preserve these remains, creating fossils.
* Other Rock Types: Igneous and metamorphic rocks are formed under intense heat and pressure, which would destroy any existing fossils.
While fossils are most commonly found in sedimentary rocks, there are rare exceptions, like fossils found within metamorphic rocks that were originally sedimentary.