You may pay for the food in a restaurant but it is not a deposit.
Which of the following two sentences does not make sense?

a: "he deposited money in the bank"
b: "he deposited money in the restaurant"