Electrolytes and Sea Salt vs Table Salt

Why electrolytes are important, and why it matters what kind of salt you choose