Consensus mechanisms enable decentralized systems to agree on transactions without a central authority

Proof of Work (PoW): Miners solve puzzles to validate transactions (e.g., Bitcoin)

Proof of Stake (PoS): Validators are chosen based on staked cryptocurrency e.g.,Ethereum2.0