Windows has a built-in "service" that allows your computer to reference an atomic clock server, such as the atomic clock servers operated by the National Institute of Standards and Technology (NIST) in the United States.

Your current computer time is compared with the current atomic time and an adjustment is made to keep your local computer up-to-date with the exact time now.