Water filters work by removing contaminants and impurities from the water, providing clean and safe drinking water.