The repeated use of NAND (or NOR) gates can produce all the three basic gates i.e. OR, AND and NOT gates, whose various combination provide us large number of complicated digital circuit. Hence in digital circuit, NAND (orNOR) gates are called a digital building block.