How does a centralized exchanger work?

Exchanges are essentially marketplaces. They are useful when a large number of people are simultaneously trying to buy and sell the same type of asset. In traditional economics, famous stock exchanges include the New York Stock Exchange and the London Metal Exchange. A centralized exchange (CEX) is a platform that allows users to buy and sell cryptocurrencies within an infrastructure managed by the exchange company.