# Universal Gate
**A logic gate that can implement any [[Boolean Function|Boolean function]].**
NAND and NOR gates are both universal gates and can be used to create the [[Boolean Algebra#Logical operations|basic logic gates]] by applying [[De Morgan's laws]].
This is notable as NAND gates require the least amount of transistors on CMOS chips and are thus the cheapest and easiest to manufacture.
## NAND logic
![[NANDLogic.svg]]
## NOR logic
![[NORLogic.svg]]