An initial public offering (IPO) is the first time a private company sells its shares to the public on a stock exchange, allowing investors to purchase a stake in the company. This process marks the transition of a company from private to public ownership.