What is demat account in stock market

What role does a demat account play in stock market investing?

A demat account in the stock market is used to hold shares and securities in electronic form, enabling easy trading and transfer.