Answer the question

Certain fossils can be used to help determine the age of the rock layer in which the fossils are found. Which type of fossil is best to use when making this determination?
Available options:
A). marine mammal fossil.
B). swamp fern fossil.
C). trace fossil.
D). index fossil.
D).