Synthetic oil is used as a substitute for lubricant refined from petroleum when operating in extremes of temperature, because, in general, it provides superior mechanical and chemical properties than those found in traditional mineral oils .