A depository is a central entity where the stocks, shares and other financial securities are stored in an electronic or dematerialized format. It facilitates buying and selling of securities online for investors while maintaining comprehensive data of the holdings and ownership records.