A Demat account stores shares, while a trading account is used to buy and sell shares on the stock exchange.