The consensus method employed by the majority of blockchain networks, including Bitcoin, is known as the “Nakamoto consensus.” In order to authenticate and concur on the order of transactions in a secure and trustless manner, it depends on a decentralized network of nodes (computers) cooperating.
In order to add new blocks to the blockchain and maintain the immutability and security of the ledger, miners must solve challenging mathematical problems. This process is known as mining, and it is how Nakamoto consensus obtains consensus. It bears the name of Satoshi Nakamoto, the mysterious person who invented Bitcoin.