Pengwuino said:
Yah i know all the physics behidn it but what are the temperatures that the food/drinks are being heated up to?
I may not be interpreting your question correctly, but I'm wondering if you're trying to ask how someone measures the amount of Calories in a given food?
An old-fashioned, simple way to think about it (and sometimes used to demonstrate the concept) is to release the energy of chemical bonds in a sample of the food as heat energy (set it on fire and let it burn

), and when there's nothing left but ashes, you measure how much you increased the temperature of water heated with that burning food. Of course this would need to be done in a closed system so all the heat heated the water, not the surrounding air, etc.
So, basically, calories refer to the energy in the chemical bonds that is available to be released when those bonds are broken, as is done by digestive enzymes. Nowadays, food chemists have ways to determine calories in fractions of the food, not just the whole food, so can tell you how many calories come from fat, or carbohydrates or proteins. The total calories are still what are important in terms of energy in/energy out maintenance of body weight, but because we use different types of nutrients differently, the breakdown in proportions of calories coming from different sources can help ensure you're balancing your diet to include all the nutrients the body will need.
Volume and mass is a poor indicator of caloric content of food (your large sub vs small burger comparison). The reason is that the volume and mass can include both water and air (remember, bread has lots of air pockets in it while meat is very dense). The chemical composition of various nutrients varies, so some have higher energy bonds than others, which means when those bonds are broken, more energy is released = more calories.