The share market, also known as a stock exchange, serves as a regulated marketplace for buying and selling shares in public companies. It…