Here I was reading about buffers and found such text:
When the entire frame has been rendered, the buffers need to be swapped with one another, so the back buffer becomes the front buffer and vice versa.
And also this
The swap interval indicates how many frames to wait until swapping the buffers, commonly known as vsync.
The question is: what is a frame? And how does it differ from buffer?