How Do Demat Accounts Work?