If you use a centralized (CEX) exchange, you use the wallet provided by the exchange. You must have your wallet to use a decentralized exchange (DEX