How does DBMS ensure duration without flushing

I was watching this video, and at a certain point (don’t recall the exact minute) the speaker says that the DBMS doesn’t immediately flush the file when updates happen. He explains that IO operations are too slow to be performed every time you make a change.

So the question is Practically, how do they can ensure duration?