Oil was a substance found on some worlds, sometimes mined as a source of energy. the Doctor complained that being dependent on "mineral slime" did not make sense. He suggested the energising of hydrogen as an alternative. (DW: Terror of the Zygons)
The Nestene Consciousness thrived on worlds with much oil, as well as plastics, smoke and pollution. (DW: Rose)
Humans drilled for oil for millennia, first on their own world and later, after the Earth was depleted, on other planets. Greg Sutton was an expert in the field of oil drilling. (DW: Inferno)
During the late 20th century drilling of oil off the cost of Scotland started, by several companies including Hibernian Oil. Four oil rigs off the coast of Scotland were destroyed by the Zygons. (DW: Terror of the Zygons)
By the 40th century Humans were still drilling for oil, despite the Earth being depleted. Companies like Oil Corp would use mecha oil rigs to drill oil on distant worlds like Boukon. (DW: The Infinite Quest)
The Doctor was once almost boiled in hot oil. (DW: The King's Demons)