Bitcoin is a public accounting ledger maintained online by a distributed network of computers. Computers on the network maintain the ledger's integrity by cross-checking transactions with each other. People who lend computing power to the network are rewarded with new units of currency, which can be thought of as new lines added to the accounting ledger.