Question: what are universal gates and why they called so?
Answer: NAND and NOR gates are called universal gates because any logic function can be done using them and thus can produce an inverter gate i.e, OR gate or an AND gate. All other gates can be created using these gates.