Liquid-liquid extraction is a technique used to separate compounds based on their solubility in two immiscible fluids.