FTX/centralized exchange: deposit your gold, counterparty deposits silver. FTX possesses the physical quantities and gives you both receipts. You agree to you exchange rate and FTX issues new receipts for what you hold, old receipts are void. You can use the new receipt to withdraw your gold and silver[0].
Uniswap: You take the amount of gold you want to trade to a building. You get to the building and exchange your physical gold for physical silver directly. You leave with your physical silver. You spent a little gold on the way to afford gasoline for the trip.
These are technically inaccurate but give an overall correct idea of the difference.
[0]most crypto users don't understand how to possess their own crypto (control private keys) so they skip the last step and leave the 'gold/silver' (crypto) in the physical custody of the exchange.
Transaction fees are one reason. Speed and account UX is another. L2 development is on track to solve some of these problems.