An initial public offering (IPO) is when a private company decides to go public and sell shares to the public…