A switch is an electrical component that can disconnect or connect a conducting path in a circuit, interrupting or diverting electric current. The most common type of switch is an electromechanical device with one or more sets of movable contacts connected to external circuits, allowing current to pass when contacts touch but not when they are separated.