Decentralized exchanges operate similar to their centralized counterparts; however, they’re significantly different when it comes to other infrastructural operations. Note that there are quite a few types of decentralized exchanges available to the users that can be divided into the following categories.
On-Chain Order Books
Off-Chain Order Books
Automated Market Markers (AMM)