Blocks are used to store batches of valid transactions that have been hashed and encoded into a Merkle tree. Each block contains the cryptographic hash of the previous block in the blockchain, which connects the two. A chain is formed by the linked blocks.