Crude oil is a mixture of hydrocarbons that formed from the remains of animals and plants (diatoms) that lived millions of years ago in a marine environment.