Investors may transfer shares between demat accounts for various reasons, such as switching brokers or gifting. Transfers can be done either through the online or offline method.