A hanging weight (or a coiled spring) is forever trying to spin a clock's gears. Left alone it would whirl away in seconds. The escapement is the clever gate that lets the gear train escape just one tooth at a time, in perfect step with the slow, steady swing of a pendulum. That is the whole trick of a mechanical clock: turn a steady push into a counted beat. Scroll down to watch it tick.
The driving weight pushes the toothed escape wheel clockwise. Riding above it is the anchor, rocking left and right with the pendulum. Its two pallets take turns: as one lets a tooth go, the other swings down to catch the next. So the wheel can't run free — it advances exactly one tooth every half-swing. Tick on the left catch, tock on the right. Speed it up or slow it down and the wheel keeps perfect lockstep.
Here's the magic: a pendulum's period depends almost only on its length, not on how hard it swings (isochronism). Big swing or small, each beat takes the same time — so counting beats measures time. The escapement does two jobs at once: it counts the swings (each released tooth = one fixed slice of time) and gives the pendulum a tiny impulse each beat to top up what friction steals, so it never winds down. Drag the length slider: a longer pendulum swings slower. At about 1 metre it beats once per second — the classic seconds pendulum of a grandfather clock.
Strip away the brass and an escapement clock is just three parts working together:
So time is measured by counting equal beats. Christiaan Huygens married the pendulum to the escapement in 1657, and clock accuracy leapt from losing ~15 minutes a day to mere seconds — suddenly minute hands were worth having. Centuries later the same job — a steady oscillator counted by a gate — is done electronically by a vibrating quartz crystal (≈32,768 beats per second), the silent successor inside almost every modern clock and watch.