YouTube, like many video services, uses buffering when watching videos. That is, while you are watching, the video is buffered forward for a few seconds.
Surely, when reading comments on YouTube videos, you have seen the timestamps to which they refer. These comments can be displayed directly on the timeline of the video itself.