A device used to separate immiscible liquids based on differences in density or for separating solids from liquids or gases. For example, in the offshore industry, oil, water, and sand, each with a different density, are separated as layers in gravitational separators. A weir is typically used to allow the top layer to overflow and separate from the layer or layers below. Centrifuge separators increase the force of the particles, increasing the rate of separation, and are used to separate cream from milk, oil, and water emulsions that are difficult to separate by gravity, and very small particles from liquids where gravitational separation would otherwise be too slow.