Here’s how it works: Say Alice wants to transfer one bitcoin to Bob. First Bob sets up a digital address for Alice to send the money to, along with a key allowing him to access the money once it’s there. It works sort-of like an email account and password, except that Bob sets up a new address and key for every incoming transaction (he doesn’t have to do this, but it’s highly recommended).
Because it's similar to gold mining in that the bitcoins exist in the protocol's design (just as the gold exists underground), but they haven't been brought out into the light yet (just as the gold hasn't yet been dug up). The bitcoin protocol stipulates that 21 million bitcoins will exist at some point. What "miners" do is bring them out into the light, a few at a time.

Bitcoin is a digital asset designed to work in peer-to-peer transactions as a currency.[5][128] Bitcoins have three qualities useful in a currency, according to The Economist in January 2015: they are "hard to earn, limited in supply and easy to verify".[129] However, as of 2015 bitcoin functions more as a payment processor than as a currency.[130][30]
While it is possible to store any digital file in the blockchain, the larger the transaction size, the larger any associated fees become. Various items have been embedded, including URLs to child pornography, an ASCII art image of Ben Bernanke, material from the Wikileaks cables, prayers from bitcoin miners, and the original bitcoin whitepaper.[21]
Unlike ever before, the world is now able to transfer and receive funds locally and internationally at low costs, and the potential is increased given that a significant number of people in developing countries do not have access to the formal financial system, and compared to the developed countries where the competition is fierce in the financial institutions, little number of banks available in the under-developed countries imposed very high fees during international transactions.
Bitcoin Core is the “official” Bitcoin client and wallet, though isn’t used by many due to slow speeds and a lack of features. Bitcoin Core, however, is a full node, meaning it helps verify and transmit other Bitcoin transactions across the network and stores a copy of the entire blockchain. This offers better privacy since Core doesn’t have to rely on data from external servers or other peers on the network. Bitcoin Core routed through Tor is considered one of the best ways to use Bitcoin privately.
Because the target is such an unwieldy number with tons of digits, people generally use a simpler number to express the current target. This number is called the mining difficulty. The mining difficulty expresses how much harder the current block is to generate compared to the first block. So a difficulty of 70000 means to generate the current block you have to do 70000 times more work than Satoshi Nakamoto had to do generating the first block. To be fair, back then mining hardware and algorithms were a lot slower and less optimized.
“It’s a real testament to Bitmain that they’ve been able to fend off the competition they have fended off. But still, you haven’t seen an Intel and a Nvidia go full hog into this sector, and it would be interesting to see what would happen if they did,” says Garrick Hileman, an economic historian at the London School of Economics who compiled a miner survey with the University of Cambridge.
Meanwhile, the miners in the basin have embarked on some image polishing. Carlson and Salcido, in particular, have worked hard to placate utility officialdom. Miners have agreed to pay heavy hook-up fees and to finance some of the needed infrastructure upgrades. They’ve also labored to build a case for the sector’s broader economic benefits—like sales tax revenues. They say mining could help offset some of the hundreds of jobs lost when the region’s other big power user—the huge Alcoa aluminum smelter just south of Wenatchee—was idled a few years ago.
Network nodes can validate transactions, add them to their copy of the ledger, and then broadcast these ledger additions to other nodes. To achieve independent verification of the chain of ownership each network node stores its own copy of the blockchain.[65] About every 10 minutes, a new group of accepted transactions, called a block, is created, added to the blockchain, and quickly published to all nodes, without requiring central oversight. This allows bitcoin software to determine when a particular bitcoin was spent, which is needed to prevent double-spending. A conventional ledger records the transfers of actual bills or promissory notes that exist apart from it, but the blockchain is the only place that bitcoins can be said to exist in the form of unspent outputs of transactions.[3]:ch. 5