A decentralized exchange (DEX) is a P2P marketplace that links buyers and sellers of cryptocurrencies. Decentralized platforms are non-custodial, in contrast to centralized exchanges (CEXs).
One of the advantages of a DEX is that it provides users with greater control over their assets, as the platform does not hold the user's funds, unlike centralized exchanges (CEXs).