Distillation is a long-established method that separates water from contaminants by changing the state of water from a liquid phase to a gas phase and then back to a liquid phase.