# Choosing an electrolyte for a galvanic cell

I was wondering what processes are used to select an electrolyte for a galvanic cell.

I know a zinc copper battery usually has zinc and copper sulfate electrolytes. How do these electrolytes interact wishing each half cell (i.e.: how does zinc sulfate interact with water, the anion from the salt bridge and zinc itself)?

With $\ce{ZnSO4}$, for example, you wouldn't want to have $\ce{Pb^2+}$ ions anywhere in your cell, since $\ce{PbSO4}$ would precipitate and your concentrations of your ions would change, therefore changing your overall cell potential.