Because an amount of the said substance emits a specific amount of heat.
In food usually calories are measured per 100 grams.
For biomolecules calories are measured per 1g (e.g. 1g glucose=4.1kcal)
9.3m questions
12.0m answers