Cooking oil was a viscous liquid used to cook other foods in. One type of cooking oil was olive oil. (Star Trek IV: The Voyage Home)
In 2374, Tom Paris told Neelix that he'd accidentally poured him a hot cup of cooking oil instead of the coffee he'd asked for. (VOY: "Waking Moments")