In Germany you can return your empty bottles and get money for them.
It's all done by automated machines. Crates of empties go in a bigger opening below, and single bottles go into this hole where they are scanned.
You are credited accordingly and given a print-out of your credit amount which you then present to the checkout operator who will either give you the money or deduct it from your grocery bill.
Better odds than the casino slot machines!