When a company has its first public offering (IPO), it sells shares and gets money from selling those shares. Once the shares are traded on a stock exchange, the company doesn't get any more money from investors buying and selling shares.