A light switch is the simplest of electrical devices. Flip the switch, electricity flows. Flip it again, electricity stops.