A
real-time clock is like a watch - it works on a battery and keeps time
for you even when there is no power. Using an RTC, you can keep track of
long timelines, even if you reprogram your microcontroller or
disconnect it from USB or a power plug.