The answer is it contains the electrodes. Without the salt scaffold, the arrangement in the anode compartment would turn out to be decidedly charged and the arrangement in the cathode compartment would turn out to be contrarily charged, on account of the charge lopsidedness, the terminal response would rapidly stop.
It keeps up the stream of electrons from the oxidation half-cell to a decrease half cell, this finishes the circuit.