Hydrochloric acid is used -under strict control- to adjust the pH of effluents, in order to comply with local or national environmental regulations.