When you eat cookies, and a cookie contains on average calories, you will consume around calories.

So if on average you require calories to survive daily, you are eating an excess of calories.