"It is the oil."
Translation:Det er oljen.
Going off of what the mod fveldig said:
"It doesn't change gender based on the word after it. It changes gender if it replaces a noun."
So since you're pointing out what the oil is, it's going to be "Det." If you were going to replace oil with "it", it might be "den" if oil is a masculine word.