Investors can buy and sell publicly traded corporation shares on the stock market. Exchanges between buyers and sellers are how it operates. According to supply and demand, stock prices change based on company performance, the state of the economy, and investor mood.