What is difference between demat and trading account

What are the practical differences between trading and demat accounts?

A demat account is used to hold your securities in electronic form, while a trading account is used to buy and sell those securities on the stock exchange. The demat account acts as a digital locker, and the trading account is for executing transactions.