Fossils are found in this rock because the rocks aren't formed from temperatures that would otherwise destroy them. Igneous rocks are formed by the cooling of lava, and metamorphic rocks are formed by another rock that undergoes extreme heat or pressure. Therefore, they both require heat, while sedimentary rocks are simply formed from deposed sediment from water.