Law of partition means? I think it is distribution? How is this applied in extraction involvong immiscible solvent? Help please.

The partition constant, also called the distribution constant, is a number, similar to Ksp and Keq that defines the solubility of a solute between two immiscible solvents such as water and hexane.