The two types of fossils that are formed in rocks are