oil is a fossil fuel. Most of the oil extracted today has been occur from prehistoric organisms whose remains settled at the bottoms of oceans and lakes millions of years ago. As layers of sediment covered them, the pressure on them increased which in turn increased the temperature. This process changed their chemical composition, eventually transforming them into oil.