The easiest way to think of the stock market as a network of stock exchanges is where traders and investors buy and sell shares of public companies. A stock exchange or stock market is a physical or digital place where investors can buy and sell stocks or shares of public companies.