Visibility map
Two bits per data page saying whether everything on it is visible to everyone, and whether everything is frozen. A tiny structure two large optimisations rest entirely on.
The first is the index-only scan. An index holds the values but nothing about visibility, so to know whether a row is current for your transaction the table would normally have to be read anyway — which removes the entire point of avoiding it. If the page is marked all-visible, Postgres can skip that read. The second is vacuum: pages already marked need not be examined at all, which is why cleaning an enormous but mostly untouched table can finish in seconds. The frozen bit additionally lets even the aggressive freeze pass skip pages, which is what keeps the wraparound problem manageable on large tables.