When you hear about bitcoin “mining,” you envisage coins being dug out of the ground. But bitcoin isn’t physical, so why do we call it mining?
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.
If I want to send some of my bitcoin to you, I publish my intention and the nodes scan the entire bitcoin network to validate that I 1) have the bitcoin that I want to send, and 2) haven’t already sent it to someone else. Once that information is confirmed, my transaction gets included in a “block” which gets attached to the previous block – hence the term “blockchain.” Transactions can’t be undone or tampered with, because it would mean re-doing all the blocks that came after.
To cut through some of the confusion surrounding bitcoin, we need to separate it into two components. On the one hand, you have bitcoin-the-token, a snippet of code that represents ownership of a digital concept – sort of like a virtual IOU. On the other hand, you have bitcoin-the-protocol, a distributed network that maintains a ledger of balances of bitcoin-the-token. Both are referred to as “bitcoin.”