An Initial Public Offering (IPO) is when a private company offers its shares to the…