Decentralized exchanges (DEXs) are platforms that allow users to trade tokens directly from their wallets without relying on intermediaries. Unlike CEXs, DEXs use smart contracts to facilitate peer-to-peer trading, providing greater transparency, security, and control over assets.