Stock market investing means buying and selling shares in companies. If the company does well, the shares’ value goes up. Investors hope to sell their shares for more than they paid.