The formation water collected after demulsification process in heater treater contains little emulsified oil in it. This oil required to be separated out before the water is further injected. A good deoiler perform here to minimize the oil content of the formation water (oil-in water emulsion).