A blockchain is a distributed database that stores data across a network of computers or nodes. Each block in the chain contains a set of transactions, and once a block is added to the chain, it cannot be altered or deleted.