Crude oil is a fossil fuel. It is formed from the remains of plants and animals, mainly plankton, that died millions of years ago and were buried in mud. Over millions of years with high temperature and pressure, the remains turn to crude oil, which can be drilled up from the rocks where it is found.