A separating funnel can separate two immiscible liquids, oil and water. Because oil and water are fully insoluble in one other, they split into two distinct layers. The upper layer is made up of oil, whereas the lower layer is made up of water.
Or you could simply remove the oil layer from the top by pouring it into another vessel, which leaves you with the water layer at the bottom.