Final answer:
Fossils are typically found in sedimentary rocks, which are formed from the accumulation and cementing of organic and inorganic material, unlike igneous and metamorphic rocks that are formed through heat and pressure.
Step-by-step explanation:
Rocks which contain fossils are typically sedimentary rocks. These rocks are formed from fragments of other rocks or the remains of living organisms (such as shells) that were deposited by wind or water and then cemented together over time. Sedimentary rocks, which include sandstones, shales, and limestones, often contain fossils because they are formed in environmental conditions where organism remains can accumulate and be preserved.
By contrast, igneous rocks are formed from cooled magma or lava and do not usually contain fossils, as the high temperatures would destroy any organic matter. Metamorphic rocks, which are formed by the alteration of other rocks under high temperature and pressure, also generally do not contain fossils for similar reasons.
In conclusion, the correct answer for the type of rocks which contain fossils is C) Sedimentary rocks.