The stock market allows companies to raise money by selling shares of ownership to investors on a stock exchange. This provides companies with capital for expansion and investors with liquid assets that can be quickly bought and sold. Stock exchanges facilitate trading by bringing buyers and sellers together and ensuring payment and delivery between parties. Well-functioning stock markets promote economic growth by reducing costs and risks for businesses.