Decantation is a process for the separation of mixtures, by removing a layer of liquid, generally one from which a precipitate has settled. The purpose may be either to produce a clean decant, or to remove undesired liquid from the precipitate (or other layers).
Using decantation, the oil can be separated from water.