As you already know bitcoin is different from traditional currencies. Unlike traditional currencies, bitcoins operates on a public ledger system. Bitcoin mining can be defined as the backbone of the bitcoin network. Miners confirm bitcoin transactions and also provide security. Without bitcoin mining, the network would start malfunctioning and become vulnerable to attacks.
The primary purpose of a bitcoin miner is to secure the network and confirm the bitcoin transaction. To make it happen, the miner makes use of a specialized computer system. Miners are required to solve a computational problem. This helps them to chain together different blocks of transactions. As a reward, miners are offered free bitcoin mining along with transaction fees.