bitcoin mining is a computer process done from peer to peer which is used to verify and secure bitcoin transactions. These transactions include payments from one user to another on a decentralized network. The mining process includes the addition of bitcoin transaction data to the public ledger of past transactions. A group of these transactions is called a block, and a blockchain is formed when blocks are protected by the miners and are placed on top of each other. This ledger represents blockchain. This blockchain serves to confirm the transactions that have taken place. Bitcoin nodes make use of blockchain to differentiate legit bitcoin transactions to re-spend coins.

What is proof of work?
Bitcoin mining is designed to be resource-incentive and is difficult so that the blocks that are found each day by miners remains stable over time. This produces a finite bitcoin monetary supply. The individual blocks are considered valid only when they contain proof-of-work. This work is verified by other nodes every single time they receive a block. This function I used to protect the currency against double-spending. This makes bitcoin’s ledger immutable.
The way by which mining create new bitcoins
The key purpose of bitcoin mining is to allow the nodes to reach a tamper-resistant and secure consensus. Mining is a way through which you can introduce bitcoins into the system. Miners are paid transaction money and subsidy of new coins which are called block rewards. Both these rewards disseminate new coins in a decentralized order and motivate the miners to provide security to the system through bitcoin mining.

During the last years, a huge amount of bitcoin mining power was taken over by the internet which made it harder for the individuals to keep enough hashrate in a block and earn payout reward. Bitcoin mining pools were introduced to compensate for this. This is an approach where a group of miners contribute to a block and then split the reward among them.