When a company decides to go public from private ownership, the process is known as Initial Public Offering.
There are quite a few reasons for a company to go public, mainly to raise capital, clear debts, business expansion, etc.