Bitcoin works through a shared public ledger called the blockchain that records all confirmed transactions. The blockchain allows wallets to calculate balances and verifies new transactions through cryptography. Transactions transfer value between Bitcoin wallets and require signatures for security. Mining is the process of confirming transactions through distributed consensus - computers process transactions together into cryptographic blocks to prevent corruption.