why is oil considered a fossil fuel

Oil is considered a fossil fuel because it is formed from the remains of ancient plants and animals that lived millions of years ago. These organic materials underwent a process of slow decomposition under high pressure and heat, resulting in the formation of oil and other fossil fuels. This process typically takes millions of years, hence the term "fossil" fuel.