Why logic gates are used?
Logic Gates: In simple words, logic gates are electronic circuits with a number of inputs and one output. There are three basic logic gates, namely AND gate, OR gate, and NOT gate
Other logic gates that are derived from these basic gates are the NAND gate, NOR gate, EXCLUSIVE-OR gate, and EXCLUSIVE-NOR gate.
Uses of logic gates: