An initial public offering (IPO) is when a private company becomes public by selling its shares on a stock exchange . Private companies work with investment banks to bring their shares to the public, which requires tremendous amounts of due diligence, marketing, and regulatory requirements.