How bitcoin works:
1. Transaction and fee are selected
2. Signed by your wallet and sent
3. Distributed by network nodes
4. Miner adds transaction to block
5. Miner wins PoW contest
6. New block is validated
7. New block is distributed by nodes
8. Transaction completed