Why do we need a demat account

Why is a Demat account essential for stock market investments?,

A demat account is needed to hold shares and securities electronically, which is mandatory for trading on stock exchanges in India.