What is the Stock Market and How Does It Work? A Complete Guide

Written by Bidita Sen

Published on December 04, 2025 | 15 min read

Stock Market
illustration

Key Takeaways

  • The stock market connects companies seeking capital with institutional and individual investors across India.
  • Electronic trades are executed through stockbrokers and cleared and settled through regulated market infrastructure.
  • Share prices fluctuate based on supply and demand, corporate developments, economic conditions, and investor expectations.
  • SEBI regulates India’s securities market to promote investor protection, market development, and fair and transparent market operations.

Buying shares gives investors an opportunity to own a part of a company. The stock market provides the infrastructure through which companies can raise capital and investors can buy and sell shares. This capital allocation network forms an important part of the financial system.

Open FREE Demat Account within minutes!
Join now

What is the Stock Market?

A stock market operates as a regulated financial ecosystem for issuing, buying, and selling shares of publicly listed companies. It offers businesses access to public capital to fund expansion, research, acquisitions, or other corporate requirements while providing individual and institutional investors a structured platform to buy and sell shares.

When a company decides to raise capital from the public, it can issue shares that represent units of ownership in the business. If an investor purchases 1,000 shares of a corporation that has issued 10,000,000 shares, that investor holds a 0.01% equity stake, subject to the rights attached to those shares. Equity shareholders may have voting rights and may receive dividends if declared by the company, subject to the applicable terms and regulations.

The stock market serves two core financial purposes: corporate capital formation and providing liquidity to investors. The primary market enables companies to issue new securities, while the secondary market enables investors to buy and sell securities that have already been issued. The financial system brings together market participants, trading infrastructure, and standardised rules to facilitate transactions and price discovery.

The Indian Stock Market System Architecture

  • Issuing Companies: Raise public capital through the Primary Market, including Initial Public Offerings (IPOs).

  • Stock Exchanges (NSE / BSE): Provide organised platforms for trading securities in the secondary market.

  • Clearing & Settlement Entities: Clearing corporations such as NSE Clearing Limited (NCL) and Indian Clearing Corporation Limited (ICCL) facilitate clearing and settlement of trades, while depositories maintain securities in electronic form.

  • Market Participants: Include retail investors, domestic institutional investors (DIIs), and foreign portfolio investors (FPIs).

  • Regulatory Oversight: The Securities and Exchange Board of India (SEBI) is the principal regulator of India's securities market, while the Reserve Bank of India (RBI) has regulatory responsibilities in areas falling within its jurisdiction.

How Does the Stock Market Work?

The stock market functions through electronic order books where buyers and sellers submit orders that can be matched according to exchange rules. When an investor wants to purchase shares, they submit a buy order through a stockbroker. Conversely, a seller submits a sell order.

The highest price a buyer is willing to pay is known as the bid price, while the lowest price at which a seller is willing to sell is known as the ask price. The difference between the highest bid and lowest ask is called the bid-ask spread.

For instance, if Company XYZ shares display a top bid of ₹250.00 and a top ask of ₹250.40, no trade takes place between those two orders because the buyer's maximum price is below the seller's minimum price. If a buyer places a market order for 100 shares, the order may execute against available sell orders at the prevailing prices, subject to available liquidity and applicable trading rules.

The price at which a trade is executed contributes to the Last Traded Price (LTP) of Company XYZ.

Order Matching Flow

  • Buyer Bid: Investor A places a bid to purchase 100 shares at ₹250.00.
  • Seller Ask: Investor X offers an ask to sell 200 shares at ₹250.40.
  • Matching Engine: The exchange's electronic trading system evaluates eligible orders according to its order-matching rules.
  • Execution: When compatible buy and sell orders are matched, the trade is executed and the transaction contributes to the stock's Last Traded Price (LTP).

The lifecycle of a trade progresses through four distinct phases:

  • Order Placement: An investor enters a buy or sell instruction through a stockbroker.
  • Order Matching: The exchange's trading system matches eligible buy and sell orders according to its rules.
  • Clearing: The clearing corporation determines the obligations arising from executed trades and manages the clearing process.
  • Settlement: The required funds and securities are delivered through the settlement system.

This infrastructure separates trading from post-trade activities and helps the market process large volumes of transactions in an organised manner.

  • How Does Stock Trading Work in India?

Stock trading in India operates through three integrated accounts or facilities:

  • Savings Bank Account: Holds funds required for transactions and receives funds as applicable.
  • Trading Account: Serves as the interface used to place buy or sell orders on stock exchanges.
  • Demat Account: Holds securities in dematerialised (digital) form.

These accounts perform different functions. The trading account is used to transact, while the Demat account is used to hold securities electronically. The bank account provides the funds required for transactions.

India's equity cash market operates with an existing T+1 settlement cycle, alongside an optional T+0 settlement cycle for eligible securities and participants under the applicable SEBI framework. Therefore, the settlement cycle can depend on the security and the settlement mechanism selected.

On NSE, the normal equity-market trading session runs from 9:15 am to 3:30 pm on trading days. A separate pre-open session operates before normal trading, while a closing session follows the normal market.

Key Participants in the Stock Market

The Indian capital market infrastructure depends on several regulated entities and participants working within the applicable regulatory framework.

  • Retail Investors: Individual market participants investing or trading using their own accounts.
  • Institutional Investors: Domestic institutional investors (DIIs), including mutual funds and insurance companies, alongside foreign portfolio investors (FPIs) and other institutional participants.
  • Stockbrokers: Regulated intermediaries providing investors access to exchange trading platforms and related services.
  • Depositories: Central institutions holding securities in electronic form. India has two primary depositories --- National Securities Depository Limited (NSDL) and Central Depository Services (India) Limited (CDSL).
  • Depository Participants (DPs): Registered entities—typically stockbrokers, banks, or other eligible institutions—serving as the interface between investors and depositories.
  • Clearing Corporations: Entities such as NSE Clearing Limited (NCL) and Indian Clearing Corporation Limited (ICCL) that facilitate clearing and settlement and manage associated risks.
Participant CategoryPrimary Functional RoleRegulatory / Oversight Framework
Individual & Institutional InvestorsCapital deployment and market participationApplicable securities-market regulations
StockbrokersOrder execution and client onboardingSEBI / Exchange oversight
Depositories (NSDL / CDSL)Safekeeping and electronic transfer of securitiesSEBI regulations
Clearing Corporations (NCL / ICCL)Clearing and settlement of tradesSEBI oversight

Stock Exchanges in India

A stock exchange provides the organised, regulated marketplace where investors can trade eligible securities under standardised rules.

Two major stock exchanges operate in India's equity market:

Bombay Stock Exchange (BSE): Established in 1875, BSE is one of Asia's oldest stock exchanges. It provides a platform for trading securities across various market segments.

National Stock Exchange (NSE): Established in 1992, NSE introduced screen-based electronic trading in India and provides trading platforms across multiple market segments.

Companies can list their securities on one or both exchanges, subject to applicable listing requirements. Securities listed on both exchanges can trade independently on each exchange, with market participants and trading systems contributing to price discovery.

Stock Market Indices

A stock market index tracks the price performance of a selected basket of stocks, providing a benchmark for the performance of a particular market or segment.

India's widely followed market benchmarks include:

S&P BSE SENSEX: Tracks 30 companies selected under the index methodology and is widely used as a benchmark for the Indian equity market.

NIFTY 50: Tracks 50 companies selected under the index methodology and represents a diversified set of sectors of the Indian economy. The index is owned and managed by NSE Indices Limited.

Both indices use free-float market capitalisation methodology. Under this approach, the index calculation considers the shares available for public trading rather than simply using a company's full market capitalisation. This helps ensure that the influence of each constituent reflects the portion of its equity that is available for trading.

How are Stock Prices Determined?

Stock prices are determined through the interaction of buy and sell orders in the market rather than by a fixed administrative price. Prices can change as investors respond to new information, changing expectations, and available supply and demand.

Price Movement Dynamics

Higher Buying Interest + Limited Selling Interest: Can place upward pressure on the share price.

Higher Selling Interest + Limited Buying Interest: Can place downward pressure on the share price.

Changing Balance of Orders: Can cause the price to move in either direction as new orders enter the market.

Key factors shaping buyer and seller expectations include:

Corporate Fundamentals: Revenue, profitability, debt levels, earnings, business performance, and expectations about future results can influence how investors assess a company.

Macroeconomic Conditions: Interest rates, inflation, economic growth, currency movements, and monetary policy can affect corporate earnings expectations and valuations.

Capital Flows: Buying and selling by institutional and other market participants can influence liquidity and price movements across individual securities and broader indices.

**Sector Environment: **Regulatory changes, commodity prices, technological developments, international trade conditions, and other sector-specific factors can affect expectations about a company's business.

These factors do not mechanically determine a stock's price. Instead, they can influence the expectations and decisions of market participants, which in turn affect the orders placed in the market.

Primary vs Secondary Market

The stock market consists of two broad segments: the primary market and the secondary market. The primary market handles the creation and issuance of new securities. Companies can raise fresh capital from investors through an Initial Public Offering (IPO), Follow-on Public Offer (FPO), or other permitted issues. In a fresh issue, the capital raised goes to the issuing company, subject to the terms of the issue.

The secondary market facilitates the trading of previously issued securities among investors. Listed shares can be bought and sold on exchanges such as NSE and BSE.

In a typical secondary-market transaction, the issuing company is not the counterparty and does not receive the sale proceeds. Instead, the funds and securities move between the relevant buyer and seller through the clearing and settlement mechanism.

Market FeaturePrimary Market (IPOs)Secondary Market (Exchanges)
Primary ObjectiveIssuance of new securities and capital raisingTrading of existing securities
Transaction CounterpartiesIssuing company and investorInvestor and investor
Pricing MechanismFixed issue price or book-built price, depending on the issueMarket-driven price discovery
Capital FlowFunds may flow to the issuing company in a fresh issueFunds generally flow between investors
Trading VenueIssue process and permitted intermediariesStock exchanges and electronic order books

Types of Stocks and Securities

Financial markets offer different categories of securities and instruments. Their structure, rights, risks, and methods of trading can vary.

SEBI Categorisation by Market Capitalisation

Large-cap Stocks: Companies ranked 1st to 100th by full market capitalisation under the applicable SEBI framework.

Mid-cap Stocks: Companies ranked 101st to 250th by full market capitalisation.

Small-cap Stocks: Companies ranked 251st onwards by full market capitalisation.

These categories describe company size based on market capitalisation and should not, by themselves, be interpreted as guarantees of stability, growth, dividends, or returns.

Key Financial Instruments:

Equity Shares: Securities representing ownership in a company and carrying rights as specified for the particular class of shares.

Preference Shares: Shares that generally carry preferential rights over equity shares regarding dividend and repayment of capital, subject to their terms.

Corporate Debentures: Debt instruments issued by companies to raise funds without representing ordinary equity ownership.

Exchange Traded Funds (ETFs): Investment funds whose units are traded on stock exchanges and which may track an index, commodity, or other underlying asset, depending on the fund.

Role of SEBI

The Securities and Exchange Board of India (SEBI), established under the SEBI Act, 1992, serves as the statutory regulator of India's securities market.

SEBI's broad objectives include protecting investors, promoting the development of the securities market, and regulating the securities market.

Core Pillars of SEBI Regulation

Investor Protection: SEBI establishes rules and disclosure requirements designed to protect investors and promote informed participation in the securities market.

Intermediary Regulation: SEBI regulates registered intermediaries and market infrastructure institutions within its jurisdiction, including stockbrokers, depositories and clearing corporations.

Market Integrity: SEBI establishes and enforces rules relating to activities such as insider trading and market manipulation and oversees the functioning of the securities market.

SEBI also provides mechanisms such as SCORES to facilitate investor grievance redressal against listed companies, registered intermediaries and market infrastructure institutions.

Investing vs Trading

Investing and trading are two approaches to participating in financial markets, and they can differ in their objectives, time horizons, and methods.

Investing generally involves holding securities for a longer period and may involve assessing factors such as a company's financial performance, business prospects, valuation, and future expectations. Investors may hold securities through different market cycles.

Trading generally involves taking positions for shorter periods to participate in price movements. Traders may use information about price trends, market activity, company developments, or other factors when making trading decisions.

DimensionLong-Term InvestingShort-Term Trading
Primary FocusBusiness performance, valuation and longer-term expectationsShorter-term price movements and market developments
Time HorizonGenerally longerGenerally shorter
Primary ObjectiveParticipation in potential long-term changes in valueParticipation in shorter-term price movements
Risk ConsiderationsMarket, business and valuation risksMarket, price and execution risks

The distinction is not defined by a single universal holding period. The approach and objective of the market participant are also relevant.

How to Start Investing

Entering the Indian equity market requires completing a few regulated onboarding steps.

1. Complete KYC Verification: Provide the required information and documents to complete the applicable Know Your Customer (KYC) process.

2. Open Demat & Trading Accounts: Select a SEBI-registered stockbroker or other eligible intermediary to open the required accounts.

3. Link Bank Account: Connect a bank account for transferring funds required for transactions and receiving funds as applicable.

4. Understand the Security: Review the nature of the security, relevant disclosures, costs, and associated risks before placing an order.

5. Execute Orders & Monitor: Place orders through the trading interface in accordance with applicable market rules and monitor transactions and holdings.

Opening a trading and Demat account provides access to the market; it does not by itself determine whether a particular security is suitable for an investor.

illustration

Call Out

The stock market serves as an important channel through which companies can access capital and investors can buy and sell securities. Exchanges provide organised trading infrastructure, while stockbrokers, clearing corporations and depositories support the transaction and post-trade process.

Share prices are discovered through market activity and can respond to corporate developments, economic conditions, and investor expectations. Understanding these market mechanics, participants, and regulatory structures provides a foundation for understanding how India's securities market operates.

FAQs

What is the stock market in simple terms?

The stock market is the broader ecosystem through which shares and other eligible securities are issued and traded. It connects companies seeking capital with investors and provides mechanisms for trading, clearing and settlement.

How does the stock market work in India?

Investors place orders through brokers, exchanges match eligible buy and sell orders, and clearing corporations and depositories help complete the post-trade process. SEBI regulates the securities market.

How does a beginner buy shares in India?

A beginner generally needs to complete KYC and open the required trading and Demat accounts with a registered intermediary. After adding funds, the investor can place a buy order through the trading platform.

What is the difference between NSE and BSE?

NSE and BSE are India's two major stock exchanges. Both provide organised platforms for trading eligible securities, but their listings, indices, market segments and trading activity can differ.

What is the difference between a trading account and a Demat account?

A trading account is used to place buy and sell orders, while a Demat account holds securities electronically. They perform different functions but are commonly used together.

Who regulates the stock market in India?

SEBI is the principal regulator of India's securities market. Other regulators, including RBI, have regulatory responsibilities in specific areas of the financial system.

How are stock prices determined?

Stock prices are discovered through the interaction of buy and sell orders in the market. Company developments, economic conditions, interest rates, industry factors, global markets and investor expectations can influence those orders.

About Author

author image

Bidita Sen

Senior Editor

Bidita Sen has spent over a decade first understanding the complex language of finance, then translating it into something humans can actually read. After a career spent chasing market trends, she now prefers chasing ghosts. When she's not working, you’ll find her reading or re-watching the Paranormal Activity series. Because, real-life math is much scarier than a haunted house.

Read more from Bidita
About Upstoxarrow open icon

Upstox is a leading Indian financial services company that offers online trading and investment services in stocks, commodities, currencies, mutual funds, and more. Founded in 2009 and headquartered in Mumbai, Upstox is backed by prominent investors including Ratan Tata, Tiger Global, and Kalaari Capital. It operates under RKSV Securities and is registered with SEBI, NSE, BSE, and other regulatory bodies, ensuring secure and compliant trading experiences.

Related articles

  1. What is the Stock Market and How Does It Work? A Complete Guide