One of the most important functions of salts and minerals is balancing fluids in the body. They play a role in nerve health and muscle contraction. Some minerals play an important role in the health of the immune system and protect against hair loss and anemia.