Bitcoin has no central authority to approve transactions. Instead, miners bundle transactions into blocks and compete to find a number that satisfies a cryptographic condition. The first to succeed adds the block and earns a reward.
This process, called proof of work, makes rewriting the transaction history extremely expensive, because an attacker would need to outspend the rest of the network's computing power.
The energy debate
Mining requires specialised machines running continuously, which consumes large amounts of electricity. Critics see this as wasteful; supporters argue it secures a global, censorship-resistant network and can use surplus or stranded energy.
Changing economics
The block reward halves roughly every four years, so miners depend increasingly on transaction fees and efficient operations. Many mining companies locate where power is cheap and sometimes help balance electricity grids by switching off during peak demand.
The debate over Bitcoin's footprint is likely to continue as long as the network grows.
