The rock would be sedimentary. Most fossils are found in this type of rock because it layers them under, well, rock and sediments
Hope this helps
Please mark Brainliest