Your wristwatch and atomic clocks retain time in identical ways: by measuring the vibrations of a quartz crystal. An electrical pulse is distributed throughout the quartz to ensure it vibrates steadily.
NASA explores https://tayacqwt435176.blogminds.com/a-secret-weapon-for-deep-space-crystal-27691872