Leap seconds are added to Coordinated Universal Time (UTC) to keep it in sync with Earth's irregular rotation. Despite our advanced timekeeping systems, Earth's rotation speed isn't constant, leading to slight mismatches with atomic time. By inserting leap seconds, we adjust our clocks to match these variations, ensuring that our timekeeping remains as accurate as possible.