What are the uses of fossils?

Some are studied and put in museums and the certain fossils are now oils and natural gases