A deficiency of water can alter the concentration of electrolytes which has a negative effect on brain function.