Allowing people to convert fiat into crypto and vice versa?
A stock exchange isn’t necessary to trade stocks, but it makes it far more convenient to instantly connect buyers to sellers. Crypto and the exchanges are no different.
They are fiat on and off ramps, they hold crypto for you, and they allow you to exchange different cryptocurrencies.