An exchange is a platform where you can buy, sell, and trade cryptocurrencies. A wallet, on the other hand, is a secure digital storage for your cryptocurrencies. But, some modern wallets allow to buy and sell crypto to a bank card, via a bank transfer, etc.