By the end of this you will know exactly what happens to your money inside a company exchange versus a DEX, why withdrawal is the moment of truth, and when each one is the right tool.
In Act 1 you learned the marketplaces exist. You buy and sell on them every day without a thought for what happens underneath. Now we lift the lid on both.
There are two shapes. One is a company that holds your coins and runs trades behind its own counter. The other never touches your coins at all. They feel almost identical from the outside, and they are nothing alike inside. That difference is the whole lesson.
Picture the company exchange as a border crossing. When you deposit, your coins cross from the open chain into the company's country. Once inside, every trade you make is just the company editing its own internal table: it subtracts here, adds there, in its private books. Nothing goes on-chain.
That is why trading inside feels instant, costs almost nothing, and can be undone by support if you fat-finger it. You are not moving real coins around. You are moving numbers in a company spreadsheet. The chain only reappears at the two border posts: the deposit in, and the withdrawal out.
Hold this one idea, because it powers everything that follows. While you trade inside the border, your balance is a number the company shows you. It is a promise: we are holding real coins that match this figure. As long as you never leave, the promise is never tested.
Withdrawal is the single moment the company must turn that number back into real coins and send them across the border to you. It is the only time the promise has to come true. So if you ever want to know whether an exchange truly has your money, watch what happens at withdrawal. Everything inside is bookkeeping. Only the exit is proof.
Now the other shape. A DEX has no company, no counter, no internal table. It is a row of the vending machines from checkpoint 3, standing in the open. When you swap, there is no border to cross because your coins never leave your control until the moment of the trade itself.
Put together what you already know: the pool formula from checkpoint 3, run by the smart contracts from checkpoint 12, triggered by your key from checkpoint 10. You ask to swap, your wallet signs, the contract executes the trade against the pool on-chain, and the new coins arrive in your wallet. No company ever held them. There was no promise to keep, because there was nothing to promise.
Here are both blueprints on one board. The company exchange gives you speed, cheap trades, a reset button when you make a mistake, and the easiest way to turn real dollars into crypto and back. In exchange, it holds your coins, so you are trusting it to stay solvent and to let you withdraw when you ask.
The DEX hands all of that control back to you. You keep your coins, you can trade any token that has a pool, and no company can freeze you. The price is that every swap is a real on-chain transaction with gas, prices can move against you as you trade, and there is no support line if something goes wrong. Use the comparison to feel the shape of the trade before we test it.