Transactions in a blockchain are recorded in the form of blocks, whose hashs ensure security and immutability. Each block is cryptographically linked to the previous one, hence the name blockchain.