AND and NOT AND gates


An AND gate is the fundaamantal gate which checkes if both inputs are 1 If only one of them is 1 and the other is 0 then AND gate would output 0.

A NOT AND gate in the other hand will output 1 unless both inputs are 1

OR and NOT NOR gates


An OR gate is a logic gate that outputs 1 if any of its inputs are 1.

A NOR gate is the opposite of an OR gate. It outputs 1 only when all inputs are 0. If any input is 1, the output will be 0.

AND and NOT AND gates


An XOR gate outputs 1 only when the inputs are different. If both inputs are the same, the output is 0.

An XNOR gate is the opposite of an XOR gate. It outputs 1 only when the inputs are the same. If the inputs are different, the output is 0.