Not worth me introducing this any more than the author already does: What is Brewtarget?
The dissolved salts in the water used for brewing affect the flavour of the finished beer.