The purpose of a filter for water is to remove harmful contaminants, making water safe to drink and improving its taste. Different filters use different processes to achieve these results.