A rotary switch is a type of electrical switch that operates by rotating a shaft or knob to open or close circuits, selecting between multiple electrical connections. Unlike traditional switches, which toggle between just “on” و “off” positions, rotary switches can have multiple positions, each corresponding to a different circuit or function.