Bitcoin mining is necessary for verifying and recording transactions on a shared, public cryptocurrency ledger called a blockchain. This ledger is decentralized and free from government or bank control.
Mining isn’t a profitable venture for most, and it requires significant upfront equipment costs as well as ongoing electricity expenses to run and cool your mining equipment. It also is subject to price volatility and diminishing profitability as more miners join the network.