centralized exchange is fast and efficient, but expensive in terms of price and security. And decentralized exchanges are cheap and safe, but they are less efficient.
0x has found a way to make the most of the advantages of both worlds. Instead of simply building the dex-exchange, others have created a standardized protocol that allows them to build their own distributed exchange using this protocol.