Bandgap reference
A circuit that produces about 1.2 volts regardless of temperature, by letting two errors of opposite sign cancel out.
The voltage across a transistor's base-emitter junction falls by roughly 2 millivolts per degree. The difference between two transistors run at different current densities rises with temperature instead. Weight them correctly and the sum goes flat, landing close to silicon's bandgap extrapolated to absolute zero — hence the name. Bob Widlar demonstrated the principle in National Semiconductor's LM113 in 1971, and Paul Brokaw's 1974 variant is the one that still fills the textbooks.
Inside a microcontroller the bandgap is the yardstick for everything else: the brown-out detector, the PVD and the ADC. A common trick turns this around. By measuring the internal reference with the ADC against a factory calibration constant, firmware can work out what the supply voltage really is — a battery gauge without a single extra component.