A logic gate is a digital circuit which either allows a signal to pass through it or to stop it.
This is the NOT gate This is the OR gate This is the AND gate
An OR gate.
The output will be positive (True) if at least one input is true
An AND gate.
The output will be positive (true) when both inputs (the input one AND the input two) are positive (true).
A NOT gate (inverter)
Has only one input. It reverses the logic state.
A XOR gate.
It is true if only ONE of the inputs is true.
A NAND gate.
The output will be positive if either or both inputs are negative.
A NOR gate.
The output will be positive ONLY if all the inputs are false.