When a irregularities caused by drifting in the Earth's rotation create a gap between Coordinated Universal Time (UTC) and the mean solar time, a leap second is inserted in the UTC time scale to keep it in step with the solar day.