A mixture of oil and water is put into a separating funnel and then shaken and then left until it becomes stable again. The liquid with higher density, (in this case water), goes to the bottom of the separating funnel (because it is heavier than oil). When this is done, the bottom of the separating funnel is opened and the water flows out, leaving only the oil.