What Is the Stock Market and How Does It Work?

In this article
    Buyers on one side and sellers on the other, with their orders meeting at a stock exchange in the middle
    The exchange matches buyers and sellers; the price is wherever they agree.

    The evening news says the Sensex fell 600 points. A colleague is excited about an IPO. A relative asks if you've "started in the share market" yet. The stock market is the system through which companies sell shares to raise money and investors then buy and sell those shares among themselves, through stock exchanges such as NSE and BSE, under rules set by the Securities and Exchange Board of India (SEBI). So when you buy a share, you're buying a small piece of a company from another investor, at a price that supply and demand decide.

    What happens in the stock market?

    Two different things happen, and it helps to keep them apart.

    • Companies raise money (the primary market). Say a company needs money for a new factory or to pay off loans. It can sell new shares to the public, usually through an initial public offer (IPO). The money goes to the company, and the buyers become part-owners.
    • Investors trade with each other (the secondary market). Once the shares are listed on an exchange, people buy and sell them every trading day. The company gets nothing from these trades. Your money goes to whoever sold you the shares.

    When people talk about "the stock market", they almost always mean the second part. It still matters to companies, though. Investors buy new shares more readily when they know they can sell them later.

    Who takes part in the stock market?

    You'll deal directly with one or two of these players. All of them touch your money or your shares at some point.

    Who does what in India's stock market
    ParticipantWhat it doesExamples
    Companies (issuers)Sell shares to raise money, then report results and follow listing rulesAny listed company
    InvestorsBuy and sell sharesIndividuals, mutual funds, insurance companies, foreign portfolio investors
    StockbrokersTake your orders to the exchange; only registered members can trade thereThe broker whose app or website you use
    Stock exchangesMatch buy and sell orders, publish prices and watch for manipulationNational Stock Exchange (NSE), BSE
    Clearing corporationsSettle every trade: collect money and shares, and guarantee the deal goes throughNSE Clearing, BSE Clearing
    Depositories and their participantsHold shares electronically in demat accounts and move them between accountsNSDL, CDSL, and the banks and brokers that open demat accounts for them
    RegulatorWrites the rules, registers the players and punishes wrongdoingSEBI

    What happens when you buy a share?

    Your order passes through four hands before the shares reach you, and it all takes about a day. Here's a hypothetical example: Meera buys 10 shares of a listed company at ₹500 each through her broker's app.

    How a share purchase is completed Five steps from top to bottom. You place an order with your broker. The broker sends it to the stock exchange. The exchange matches it with a seller's order. The clearing corporation collects the money and the shares and guarantees the trade. On the next trading day the shares reach your demat account at the depository and the seller receives the money. 1. You place an order in your broker's app 2. The broker sends it to the exchange 3. The exchange matches it with a seller 4. The clearing corporation settles the trade 5. Next trading day: shares in your demat account
    You deal with your broker; the exchange, clearing corporation and depository do the rest.
    1. Order. Meera picks how many shares she wants and the most she'll pay. Her broker checks that she has ₹5,000, plus charges, in her trading account.
    2. To the exchange. The broker sends the order to NSE or BSE, where it waits in an electronic order book until it finds a match.
    3. Match. The exchange's system pairs her buy order with a sell order at a price both sides accept. That usually takes a fraction of a second, and neither side knows who the other is.
    4. Settlement. The clearing corporation collects ₹5,000 from the buyer's side and 10 shares from the seller's side, and it guarantees the deal. If the seller doesn't deliver, it buys the shares in an auction or, failing that, pays Meera a close-out amount. She never has to chase a stranger who defaulted.
    5. Delivery. On the next trading day, the depository moves the 10 shares into Meera's demat account and the seller's broker gets the money. This is T+1 settlement: trade day plus one.

    Selling is the same thing in reverse. Every trade also carries brokerage, exchange and SEBI fees, securities transaction tax, GST and stamp duty, which a later module on accounts and brokers breaks down.

    Step 4 is the part most beginners never hear about. It's also the reason you can buy from a complete stranger without worrying whether they'll pay up.

    How is a share price decided?

    A share's price is simply where the last buyer and seller agreed to trade. At any moment, some people want to buy and others want to sell, each at a price of their own. The exchange matches the highest bid with the lowest offer. If more people want to buy than sell at today's price, buyers have to offer more, and the price goes up. If sellers outnumber buyers, it goes down.

    In the short run, news, interest rates, foreign money and plain mood can push prices around a lot. Over years, prices tend to follow what the business earns. A company whose profits grow usually becomes worth more; one whose profits shrink usually becomes worth less. That link is loose and comes with no guarantee, which is why shares carry risk. The lesson on risk and return covers that trade-off.

    And the Sensex and Nifty 50 numbers on the news? They're indices, which track the combined value of a basket of large companies. A 600-point fall means that basket was worth less at the close than at the open. How these indices are built is explained in how Sensex and Nifty 50 are calculated.

    How big is India's stock market?

    Big, and much bigger than a few years ago. Most of the growth since 2020 has come from new individual investors, as NSE's own figures show.

    India's stock market in numbers, NSE data for September 2026
    MeasureFigure
    Unique registered investors on NSEAbout 13.7 crore, over four times the March 2020 level
    Median age of registered investors33 years (38 in March 2020)
    Women's share of individual investorsAbout 25.2%
    Companies listed on NSE3,099, including small and medium enterprises
    Market value of companies listed on NSE₹467.7 lakh crore at the end of September 2026
    Share of the 50 Nifty companies in that value39.1%

    Look at the last row. Just 50 companies make up about two-fifths of the value of more than 3,000. A handful of giants carry a lot of weight, both in the market and in the indices that follow it.

    As of September 2026. Figures from NSE's Market Pulse report, October 2026 edition. They change every month; check the latest edition on the NSE website.

    Is the stock market the same as the share market?

    Yes. In everyday use, "stock market" and "share market" mean the same thing: the whole system for issuing and trading shares. A stock exchange is narrower. It's one regulated marketplace inside that system, like NSE or BSE. A company can list on more than one exchange, and the shares in your demat account are the same whichever exchange you bought them on.

    What should you expect before you start?

    Over long periods, the stock market has tended to reward patience and understanding far more than speed. A few honest facts help set your expectations:

    • It isn't a route to quick money. Shares can fall for years as well as rise, as the lesson on bull and bear markets shows. Anyone promising fast, sure gains is showing you the classic sign of a scam, and the lesson on why get-rich-quick schemes fail shows how those schemes work.
    • A tip isn't research. Messages and videos naming a stock to buy aren't advice. And a tip that really is inside information is illegal to trade on, as the lesson on insider trading explains. Only SEBI-registered investment advisers and research analysts can give advice, and the lesson on precautions before you invest shows how to check who's registered.
    • Trading more costs more. Every trade pays charges. Your broker earns on each one, whether you make money or not.
    • Derivatives are a different game. SEBI found that about 91% of individual traders in equity futures and options made a net loss in 2024-25. The lesson on investing, trading and speculation explains why so many lose.
    • There's a simpler way in. If picking shares yourself doesn't appeal, a mutual fund lets a professional manager, or an index, do the picking for you.

    Key takeaways

    • The stock market lets companies raise money by selling shares (the primary market) and lets investors trade those shares among themselves (the secondary market).
    • A trade passes from your broker to the exchange, which matches it, to the clearing corporation, which guarantees it, and to the depository, which delivers the shares the next trading day (T+1).
    • A share's price is where the last buyer and seller agreed; over the short run it moves with demand and mood, over years it tends to follow the company's earnings.
    • NSE had about 13.7 crore unique registered investors and 3,099 listed companies in September 2026, but 50 companies made up about 39% of the market's value.

    Quick quiz

    3 quick questions on this lesson. Choose your answers, then press Check answers.

    1. You buy 10 shares of a listed company through your broker's app. Who receives your money?

    Choose one answer.

    Show answer

    Answer: The investor who sold you the shares. Trading on an exchange is the secondary market: the money passes from buyer to seller through the clearing corporation. The company receives money only when it issues new shares, as in an IPO.

    2. With T+1 settlement, shares you buy today reach your demat account on the next trading day.

    True or false?

    Show answer

    Answer: True. T+1 means trade day plus one trading day. The clearing corporation settles the trade and the depository credits the shares on that day.

    3. Which of these play a part in completing an ordinary share purchase?

    Choose all that apply.

    Show answer

    Answer: Your stockbroker; The stock exchange; The clearing corporation. The broker sends the order, the exchange matches it and the clearing corporation settles and guarantees it, with the depository delivering the shares. The auditor checks the company's accounts and has no role in trades.

    Facts checked: 1 December 2026.

    Official sources:

    Disclaimer: This lesson is for educational purposes only. It is not investment, tax or legal advice and does not recommend buying or selling any security, fund or other product. The author is not registered with SEBI as an investment adviser or research analyst. Companies, people and figures in the examples are hypothetical unless stated otherwise. Investments in the securities market are subject to market risks. Rules and rates change, so check the official sources before you act, and consult a SEBI-registered investment adviser for advice on your own situation.