The algorithm by which nodes in a blockchain reach an agreement over the state of the chain itself, i.e. what transactions happened and the balances of every participant. This is extremely important as a way to deter malicious actors, offering economic incentives to good actors so as to contribute to the network (as a general rule, more nodes mean more security)