Explanation:
Fossils are the preserved remains of dead and decaying organism found within sedimentary rock layers. For a fossil to be desirable for preservation, certain conditions must persist such as the presence of hard parts, lack of an oxidizing environment and so on.
During sedimentation, weathered rock materials, eroded are transported in a sedimentary basin where by become compacted and lithified to form sedimentary rocks.