What is Stock Market?

As you all know stock market is very popular these days among youngsters in India. After Covid, 10 million jobs were lost and people were just sitting in their houses trying to find employment to live peacefully. At that time the awareness of Stock Market was increased (especially in India) and everyone wants to invest and earn from the market to repay their debt and make their life streamlined.
In the stock market, we basically buy the shares of any listed companies