In the NEET syllabus; removed from current NCERT.
In digital circuits only two values (0 or 1) of input and output voltage are permissible. NOT gate: output is the inverse of the input. OR gate: output Y is 1 when either input A or input B or both are 1. AND gate: output Y is 1 only when input A and input B are both 1. NAND gate: an AND gate followed by a NOT gate. NOR gate: a NOT operation applied after an OR gate; output Y is 1 only when both inputs A and B are 0. NAND gates are also called universal gates, and NOR gates are considered universal gates because all the gates like AND, OR, NOT can be obtained by using only NOR gates.
-- NCERT Class 12 Physics (pre-2023 edition), Chapter 14, p. 491