A separating funnel is a piece of laboratory equipment used to separate two immiscible liquids. When a mixture is poured into the funnel, the liquid with the lower density will float to the top. The stopcock can then be opened to drain out the heavier liquid on the bottom into a container below. Once the heavier liquid is drained, the stopcock is closed before the lighter liquid begins to flow out. This separates the two liquids into separate containers based on their differing densities. Separating funnels are commonly used to separate mixtures of water and oil.