Electrolytes are minerals such as sodium and potassium that are lost when you exercise and sweat. These minerals break down into little electrically charged particles, known as ions, when dissolved by water. They need to be replenished as they perform many functions in the body, which are listed below.