A stock market is the place where investors come together to buy and sell shares…