Here is how St. Thomas Aquinas teaches this important truth:
Gluttony denotes, not any desire of eating and drinking, but an inordinate desire. Now desire is said to be inordinate through leaving the order of reason, wherein the good of moral virtue consists: and a thing is said to be a sin through being contrary to virtue.
The glutton intends, not the harm to his body, but the pleasure of eating: and if injury results to his body, this is accidental [i.e., aside from his intention]. Hence this does not directly affect the gravity of gluttony, the guilt of which is nevertheless aggravated, if a man incurs some bodily injury through taking too much food.
Meat and drink are alike capable of hindering the good of reason, by embroiling the reason with immoderate pleasure: and in this respect abstinence is about both meat and drink alike. But intoxicating drink is a special kind of hindrance, ... wherefore it requires a special virtue ... which is sobriety.
Drunkenness may result from inordinate concupiscence and use of wine: in this way it is accounted a sin, and is comprised under gluttony as a species under its genus. For gluttony is divided into “surfeiting and drunkenness,” which are forbidden by the Apostle (Romans 13:13).
The vice of gluttony tempts us in five ways. Sometimes it forestalls the hour of need; sometimes it seeks costly meats; sometimes it requires the food to be daintily cooked; sometimes it exceeds the measure of refreshment by taking too much; sometimes we sin by the very heat of an immoderate appetite —which are contained in the following verse: “Hastily, sumptuously, too much, greedily, daintily”.
[G]luttony denotes inordinate concupiscence in eating. Now two things are to be considered in eating, namely the food we eat, and the eating thereof. Accordingly, the inordinate concupiscence may be considered in two ways. First, with regard to the food consumed: and thus, as regards the substance or species of food a man seeks “sumptuous” — i.e. costly food; as regards its quality, he seeks food prepared too nicely—i.e. “daintily”; and as regards quantity, he exceeds by eating “too much.”Secondly, the inordinate concupiscence is considered as to the consumption of food: either because one forestalls the proper time for eating, which is to eat “hastily,” or one fails to observe the due manner of eating, by eating “greedily.”
Conclusion: Let us be on guard against all types of gluttony, arch-enemies of the spiritual life!