Watches and the balance
Portable timekeepers cannot use a pendulum, because movement would disturb it. A balance wheel with a hairspring oscillates instead.
The lever escapement keeps the balance mostly free, touching it only briefly at each beat.
Position, temperature and wear all affect rate, which is why watches are adjusted in several positions.