The CMOS idea: pair one of each
NMOS turns on when its gate is high. PMOS turns on when its gate is low. Stack one of each on a single input and exactly one of them is on at any time — never both, never neither (except for a sliver of nanoseconds during switching).
That "never both" is the whole point. In a non-CMOS gate, a steady DC path always exists from supply to ground through the transistors; current flows continuously and energy dumps as heat. In CMOS, when the input is settled (high or low), the path is broken at one transistor or the other. The gate draws no steady current.
This is the foundation of every digital chip from 1985 to today. The next four steps walk through the simplest CMOS gate, how every other gate is built from the same building blocks, then what "no steady current" really costs once you actually start switching.
