Okay, so you’ve learnt that fossil fuels, like oil, gas and coal come from dead matter that died over 100 million years ago. But, does that mean your filling up with T-rex every time you fill up the car??
(source: https://www.peakoil.net/headline-news/the-economist-oil-is-yesterday-s-fuel)
The short answer is no.
Fossil fuels actually consist of dead plants. Coal from trees and natural gas & oil from algae. Over millions and millions of year dead plants that were at the bottom of ancient rivers accumulated and were buried. Eventually being placed under huge amounts of pressure. The further they sunk the closer they got to the Earth’s core and the hotter they became. Eventually it got so hot they turned into oil. Some got even hotter and turned to gas!
So, your not burning dead T-rex, but dead algae instead.