How Bitcoin works
Bitcoin records transactions in a shared public ledger called the blockchain. Wallets use this ledger to calculate available balances. When sending funds, a user creates a digital signature with a private key so the network can verify that the spending is authorized, without revealing that key to the recipient. Addresses receive payments; private keys authorize spending.
After a transaction is broadcast, miners include it in a block and the network verifies it against its rules. Mining helps participants agree on transaction order and makes rewriting history more costly.
Following the ledger, signatures and confirmation process helps explain why sending a transaction and having it confirmed are different stages.