How-does-a-switch-work-in-a-circuit-1