Normal kidney function keeps your level of electrolytes (sodium, potassium, calcium, phosphorus, magnesium, and chloride) within a healthy range. This allows electrical impulses to be sent to the brain, muscles, and heart without short-circuiting. Electrolyte imbalances may be caused by an underlying systemic disease.
Certain kidney problems result in an imbalance of electrolytes that pose danger to the function of your body. An electrolyte imbalance can be treated by taking supplements or following a special diet to correct it.