Xor

The XOR gate is a digital logic gates that implements exclusive disjunction - it behaves according to the truth tables above. A HIGH output (1) results if one, and only one, of the inputs to the gate is HIGH (1). If both inputs are LOW (0) or both are HIGH (1), a LOW output (0) results.
XOR logic gates are available in most electronic circuits to control the circuit through the electrical components.
Reference: www.allaboutcircuits.com