You searched for: “biostratinomy”
biostratinomy
The study of the relationship between fossils and their environments.