I am really thirsty and hungry so I need to buy something from the vending machine while shopping. I needed to find a vending machine that both sold soft drinks and food. I found 2 machines side by side that one sold drinks and the other sold food. I looked at the food selections and they had mostly chips and candy. I decided on buying chips. I decided on sour cream and onion chips. They cost $1.00 so I looked in my wallet to make sure I had enough money to buy it. I found 4 quarters and put them in. I pressed the number for the sour cream and onion chips and thankfully they came right out. I then moved on to the drink machine. I really wanted a Dr. Pepper. Thankfully this machine had it. The drinks costs $1.50. I took out a dollar from my wallet and 50 cents. Put the money in the machine and pressed the button for Dr. Pepper. Out came the Dr. Pepper, which was super cold and oh so good. I loved my snacks from the vending machine. 
Question: Where did they pull the money out from when they paid for their item?
Their wallet.