Bitcoin mining is the exchange of physical energy for a chance to write the next batch of transactions to the Bitcoin public ledger, including a transaction that credits you with the Bitcoin reward and transaction fees.