What is (a) A bailment of money or goods to be kept gratuitously for the bailor. (b) Money lodged with a party as earnest or security for the performance of a duty assumed by the person depositing called?

deposit — (Law) (a) A bailment of money or goods to be kept gratuitously for the bailor. (b) Money lodged with a party as earnest or security for the performance of a duty assumed by the person depositing. (Webster's 1913.)

Sources