DEX platforms can be categorized as DeFi Platforms. This is because they perform some of the functions (buying, exchanging, and earning) that DeFi platforms are known for. More generally, DeFi platforms are decentralized applications (DApps) created to enable access to peer-to-peer transactions on a blockchain. In a sense, DEXs are a subcategory within the broader category that is DeFi platforms.