Bitcoin wallets don't hold a balance the way a bank account does. They hold a set of UTXOs, each one an output of some earlier transaction that hasn't been spent yet. Your "balance" is the total of them.

When you pay, your wallet picks one or more UTXOs as inputs and spends them in full. Say you have a 0.05 BTC UTXO and pay 0.01. The transaction creates two outputs: 0.01 to the recipient and roughly 0.04 back to you as change, minus the fee. That change becomes a new UTXO.

This is where privacy leaks. When a transaction spends several UTXOs together, analysts assume they belong to the same person (the "common input ownership" heuristic). Change outputs can often be spotted by round numbers or address types. Combine coins from a KYC exchange with coins from somewhere private and you've linked them for good.

Good UTXO hygiene means labeling where coins came from, using coin control to choose inputs deliberately, avoiding address reuse, and keeping coins from different sources apart. Tools like CoinJoin exist to break the links that UTXOs create.