
Cryptocurrencies like bitcoin are built on decentralized networks called blockchains. These are like digital ledgers recording transactions. Mining keeps these networks running and secure.
To verify a transaction, miners solve a complex math puzzle using powerful hardware. The first miner to guess the correct number (a nonce) and create a valid hash wins the reward.