An atomic clock is a precision timekeeping instrument that uses the electromagnetic resonance frequency of atoms as its oscillator. Unlike quartz clocks, which rely on a vibrating crystal, atomic clocks count quantum transitions — the frequency at which electrons flip between energy levels — to measure time.
The most common type uses cesium-133 atoms. The SI second is officially defined as 9,192,631,770 cycles of the cesium-133 hyperfine transition. This definition has been in place since 1967 and forms the basis of all international timekeeping through International Atomic Time (TAI) and Coordinated Universal Time (UTC).
The accuracy of an atomic time clock is extraordinary. A modern cesium fountain clock at NIST would neither gain nor lose a second over 300 million years — making it the world's most stable periodic phenomenon measurable by humans. Optical atomic clocks are already 100× better still.