To begin investing in the stock market, a retail investor only needs three accounts - a demat account, a trading account, and a bank account.