When you wanted to invest in stocks you also need to have a basic understanding of how the stock market works. Stock market consists of two different functions- the primary market and the secondary market.
only matches buyer and seller, but it also provides a way for the buyer and seller to agree mutually on the price. Note that when you buy shares in a publicly traded company such as Reliance, you are not buying the shares from the company itself. You are buying the shares from another investor who already owned the shares. This is what economists call a secondary market for shares. In the secondary market, investors buy and sell those shares to other investors depending on the current market conditions.
This is different from the primary market in which the company sold the shares directly to investors in the first place. The initial public offering (IPO) occurs when the company first sells shares to the public and arranges for the secondary trading of its shares. The primary market is the IPO and the secondary market is the trading done through brokers in the open market.