Electrolytes may be given through a vein. This helps keep the heart, muscles and nerve cells working normally.