What is the purpose of a salt bridge?

Flexi Says:
A salt bridge is a tube containing an inert electrolyte that allows the passage of ions between the two half-cells. Without the salt bridge, the voltaic cell will not function because the circuit will not be complete. The inert electrolyte in the salt bridge is often potassium chloride (KCl) or sodium nitrate (NaNO3).