Most ocean-going vessels desalinate potable water from seawater using processes such as vacuum distillation or multi-stage flash distillation in an evaporator, or more recently by reverse osmosis.
In reverse osmosis, an applied pressure is used to overcome osmotic pressure, a colligative property, that is driven by chemical potential, a thermodynamic parameter.