An IPO allows investors to buy a company's shares at the offering price before trading on the stock exchange, offering potential capital appreciation if the stock price rises.