Bitcoin mining is the process of validating the information in a blockchain block by generating a cryptographic solution that matches specific criteria. When a correct solution is reached, a reward in the form of bitcoin and fees for the work done is given to the miners who reached the solution first.
Over time, the reward for mining Bitcoin is reduced. This reward process continues until there are 21 million bitcoin circulating. Once that number is reached, the bitcoin reward is expected to cease, and Bitcoin miners will be rewarded through fees paid for the work done.
Consensus between nodes is achieved using a computationally intensive system based on proof-of-work called mining. Bitcoin mining requires increasing quantities of electricity[5] and was responsible for 0.2% of world greenhouse gas emissions as of 2022.