Engineers are developing ionic water-treatment technology that saves money and energy by selectively removing only hazardous contaminants and ignoring those that are harmless. The platform technology could be used to treat drinking water and wastewater from industrial applications like oil and gas wells.