With conventional light switch wiring using NM cable, the cable supplies 120 volts from the electrical panel to a light switch outlet box. Another NM cable connects the first outlet box to the next box(es) and so on until you reach the end of the chain. Before 2011, the “end of the chain” switch was commonly wired using alternate (California style) wiring.
Diagrams shown on this page are simplified for clarity. Electrical outlet boxes can have numerous NM cables going in and out. See “Actual Switch Box Wiring Diagram” below.