Shares in India are no longer issued as paper certificates for trading, so you need a demat account to own them. The account sits with a depository, NSDL or CDSL, and you open it through a depository participant, usually your broker or bank.
A trading account places your buy and sell orders. The demat account is where the shares land after a purchase and where they leave from when you sell.