Simplify the following text for a Grade 9 native English-speaking person.
Original: Hydrochloric acid can therefore be used to prepare salts called chlorides , such as sodium chloride .
Simplified: Hydrochloric acid , like all acids , react with bases to produce salts ( chlorides ) .