When you want to invest in stocks or commodity, the transaction is processed through a stock exchange. A stock exchange is an electronic market where you can buy and sell stocks and commodities. If a business wants to raise capital by issuing bonds or shares, the business will have to get itself registered on the stock exchange.