Electricity cannot travel around the circuit. When a switch is closed (on), it makes the circuit complete. Electricity can travel around the circuit.
To turn out the light we need to break the circuit. We can do this by putting in a switch. It doesn't matter where in the circuit you put the switch - the effect is the same. The bulb glows ...