With every single block within the ledger, there’s a reference to the one right before called a “pointer”, which is essentially a hash of a previous block that is derived from the whole scope of data it contains.