Many fruits and vegetables contain three important electrolytes -- calcium, potassium and magnesium. High-calcium fruits and vegetables include collard greens, spinach and turnip greens. Fruits and vegetables that are high in potassium include apricots, bananas, potatoes, kiwi, tomatoes and sweet potatoes.