How do you connect an ON-OFF switch to control the light?

To control a light with a switch, the switch has to be connected in series with the light fixture.