A switch that is operated by rotation is known as a rotary switch. It consists of a rotating shaft that is connected to a terminal. That terminal is responsible for either setting up or breaking up a connection with other termina