What it is
An order book is a list of what buyers and sellers want. Each entry records a quantity and a price. Buy orders are called bids and sell orders asks. The venue keeps these sorted so the best prices are at the top: the highest bid and the lowest ask. Together these top entries define the current market price and the gap between them, the spread.
How matching works
A matching engine uses the book to execute trades. When a new buy order arrives at a price equal to or higher than the lowest ask, it can be filled immediately against that ask. If no ask is low enough, the order waits in the book as a bid until a seller agrees to its price. Orders at the same price are usually filled in the order they arrived.
Reading depth
Beyond the top of the book, the list shows how much is offered at each further price, which is called market depth. A deep book has large quantities near the current price, so a big order moves the price only a little. A thin book has little behind the top, so even a modest order can push the price a long way. That is one reason low-volume coins show wider spreads and bigger price swings.
Order books vs liquidity pools
Centralised exchanges and some decentralised ones run order books. Many on-chain exchanges instead use automated market makers, which hold reserves in a pool and set prices with a formula such as x times y equals k, as Uniswap v2 does. The user experience looks similar, but the mechanics differ: a pool is always willing to trade at a price set by its reserves, while a book trades only when someone has placed a matching order.
Why it matters
Understanding the book helps you judge whether the quoted price is one you can actually trade at, and how much a larger order might cost you in price impact.