**Basic logic gates**: Basic logic gates are the building blocks of digital circuits that perform logical operations such as AND, OR, and NOT, on the binary inputs. Basic gates are mainly used in the fabrication of digital systems and are called integrated circuits (ICs).

**Derived logic gates**: Derived logic gates arc those logic gates that perform logical operations on the binary inputs with the help of two or more basic logic gates. A combination of AND, OR, and NOT are called derived gates. NAND, NOR, XOR, and XNOR are such a combination of AND, OR, and NOT gates.

**Exclusive OR (XOR) Gate**

A gate that identifies the odd number of 1’s in the combination of the inputs is called the XOR gate. It is a functional combination of NOT, AND, and OR gates.