This photo shows three NAND gate standard cells, snapped together. Each cell is mostly identical, but the metal wiring is modified based on how the gate connects to the other metal layers. The thick metal bands at the top and bottom are the power and ground lines. 10/21
CMOS circuitry lets you create complicated gates, such as this five-input OR-NAND gate, with inputs A-E. Standard cell libraries usually include a wide variety of gates, not just common ones like AND and OR. 11/21