A valve controls the move of water through a pipe, closing, or opening when important. A bypass valve is effective in precisely the same way as an everyday valve, but its function, when employed with a water softener, should be to divert the move of water clear of the softener, https://aquascience.net/