Due to the increasing inclination of people towards the stock market, the number of demat accounts in the country is…