Stocks can generate money for investors if their price appreciates over time or via the dividends paid periodically by the companies that issue them.