Is a fossil in a rock?

Can you answer this question?