The stock market is a platform that allows companies to raise capital by issuing stocks or shares, and it allows…