What is the use of demat account in trading

How is a demat account used for active trading?,

The use of a demat account in trading is to hold securities electronically, enabling easy buying, selling, and transfer of shares.