In brief, DEXs aim to offer lower transaction fees, let users directly hold their own assets and avoid some regulatory burdens . On the other hand, they face the cost of compensating their liquidity providers for a special kind of risk called “impermanent loss.” CEXs offer their own advantages too.