A decentralized exchange is a peering marketplace where users conduct transactions with smart contracts with no intermediary. DEXes are non-custodial platforms, meaning their customers remain in full control of their private keys during their interaction with such marketplaces.