NOT gate:-
NOT gate (inverter) has one input and one output, it output logical one (High/ 5V) while the input is zero (Low/0V) and vise versa.

AND gate:-
AND gate has at least two inputs and only one output, it outputs logical one (High) only when the all the inputs are one and zero any other case.


OR gate:-
OR gate has at least two inputs and only one output, it outputs zero (Low) only when the two inputs are zero and one any other case.

NANAD gate:-
NAND gate is nothing but an AND gate with NOT gate connected to the output, that’s mean that the output is zero(Low) only when all the inputs are one, and one any other case.


NOR gate:-
NOR gate is nothing but an OR gate with NOT gate connected to the output, that’s mean that the output is one (High) only when all the inputs are zero (Low).


XOR (exclusive OR):-
XOR gate has at least two inputs and only one output, it outputs one only when the number of the inputs with one is an odd number and zero any other case.


