Just as the calendar has a leap year, there is also a leap second. It is needed because of the Earth’s rotation and the way its speed changes, as well as weather and geological events, which cause a fraction-of-a-second mismatch between solar time and atomic time. To make up for it, a second is added, as happened at the end of 2016, when the day included a 23:59:60.
