Distillation is a technique by which two or more substances with different boiling points can be separated from each other. For example, fresh water can be obtained from seawater (water that contains salts) by distillation. When seawater is heated, water turns into a vapor that can be condensed and captured.