The 2 pin rocker switch allows you to turn a device on/off. Say you have a 12V device, it has a positive and negative. What you do is connect the negative to the device, and then the positive to the rocker switch.