The correct statement that describes the relative age of a fossil that has formed inside a layer of rock is:
The fossil is older than the layer of rock it was formed in.
This is because the fossil is encased in the rock, which means the rock had to form after the fossil was created.