Chemicals like lime or sulfuric acid are used to balance the pH level of water, which is crucial for various metallurgical processes and to meet discharge regulations.