A logical gate is a physical component through which we can perform logic operations. It is a decision-making element. Logic gate is the basic element of combinational logic circuits
AND gate performs logical multiplication. This gate has 2 or more than 2 inputs and 1 output. The output of this gate is will be logical 1 whenever all inputs are logical 1.the output of this gate will be logical 0 whenever any input is logically 0
The OR gate performs logical addition. This gate has 2 or more than 2 inputs and 1 output. The output of this gate will be logical 1 whenever any OR all inputs are logical 1’s and whenever all inputs are logical 0, then output will be logical 0.
This gate has only one output. This gate performs complement. The output of this gate will be logical '1' when input is logical '0'. And when input is logical '1' then this gate provides output logical '0'.
This gate performs odd functions. This gate has two or more than two inputs and one output. The output of this gate will be one whenever their inputs have odd number of 1’s, otherwise the output of this gate will be zero.
The NAND gate performs the complement of AND gate operation. This gate has two or more than two inputs and one output. The output of this gate will be one whenever any input is 0. Thus, whenever all inputs are 1’s then output of this gate will be 0.
The NOR gate performs complement of OR operation. This gate has 2 or more than 2 inputs and 1 output. The output of this gate will be 1 when all inputs are 0 and whenever any input is 1 then output of this gate will be 0.
This gate performs complement of XOR operation. This gate has two or more than two inputs and 1 output. The output of this gate will be 1 whenever their inputs have odd numbers of 1’s then the output of this gate will be 0. That’s why this gate performs even functions.
The buffer gate has only one input and 1 output. The purpose of this gate has to process the input. The output of this gate will be 1 when input is 1. And when input is 0 then output of this gate will be zero.