
Cryptocurrency mining involves vast, decentralized networks of computers competing to verify and add blocks of transactions to a blockchain. Winning miners receive bitcoin and other coins in return, creating a virtuous cycle.
This verification allows Bitcoin to function without an intermediary like a bank, and creates a secure consensus mechanism that makes it cost-ineffective for malicious users to manipulate transactions. But mining also requires expensive specialized hardware and consumes substantial amounts of electricity.