How Fossils are Formed?

Fossils are formed when when sediment has covered the remains of animals over time after they’ve been buried, and the parts that didn’t rot are encased within the newly-formed sediment. So in the right circumstances, the animal remains that didn’t rot became fossils.