Separators work on the principle that the three components have different densities, which allows them to stratify when moving slowly with gas on top, water on the bottom and oil in the middle. Any solids such as sand will also settle in the bottom of the separator. The functions of oil and gas separators can be divided into the primary and secondary functions which will be discussed later on.