You cannot trade directly on the NSE or BSE; your order goes through a broker who is a member of the exchange. Most brokers also open your demat account as a depository participant.
Brokers charge fees called brokerage. Before you open an account, check the broker's SEBI registration number on its website.
Related terms: Demat account, NSE, BSE, SEBI.