A real-time clock is a clock peripheral which allows a computer to keep track of real time outside the computer; they are usually very high resolution (millisecond or less) as well.