What Is the Difference between an Order Book and a Liquidity Pool?
An order book, used by Centralized Exchanges (CEXs) and some Decentralized Exchanges (DEXs), is a list of open buy and sell orders with specified prices and quantities. Trades are executed when a buy order matches a sell order.
A liquidity pool, used by Automated Market Makers (AMMs) on DEXs, is a smart contract holding two or more tokens. Trades are executed against the pool's assets based on a mathematical formula, eliminating the need for a matching engine and direct counter-parties.