ELI5: Explain Like I'm 5

XOR gate

A XOR gate is a type of electronic logic gate. It is like a switch that can turn on or off circuits based on two inputs, like two switches in one. If one switch is on, and the other switch is off, the XOR gate will turn on the circuit. But if both switches are on or both switches are off, then the XOR gate will turn off the circuit.