D-Mat accounts are used just like net banking of any bank accounts. when you open a demat accounts than you should get a login id and password. By using such details on respective service provide website you can login your account and start dealing in share and securities. just like by using net banking you can transfer money, making fixed deposits etc. same d-mat accounts are used. after login you can purchase share and sell.