Switches are common electrical devices used to control an electrical circuit, or provide a signal to an electronic system.  Circuit control can be as simple as a single wire on/off function, or complicated control such as reversing the polarity of DC power, or providing a selection of various functions.