Certain water filters, such as UV filters or reverse osmosis systems, can effectively remove bacteria from drinking water.