Alcohol as in Ethanol/ethyl alcohol is not food, although it can be used in food production.
-but-
Alcoholic beverages are both food and a potential drug.
The drug part I think has already been discussed here.
Alcoholic beverages are a caloric source, used as a way to preserve carbohydrates, and still in many places a safe way of consuming liquids. Now, do we still need this caloric source in today's rich western world? If we were to look at it just from a caloric point of view, probably not. In the poor and isolated parts of Chile? Actually yes. There are still places in the world where fermented drinks are consumed for sanitary reasons. Just as example, some years ago I went with a friend from vet school who was working in agricultural extension, to a group of islands in the south of Chile where the drinkable water wasn't always reliable, and was given chicha at every place we visited, because people didn't want their guests to pick up something from the water.
Now, going back to the food aspect of alcoholic beverages. In food preparation for example, some dishes will not work out the same without the wine or beer in them, not just because of the flavor, also the solvent effect of ethanol. And then, we can't ignore the organoleptic properties of alcoholic beverages: a glass of wine is an equally important part of the main dish if it was prepared with that in mind.
Here is what I think is a good read about culture, food, and booze: https://www.tandfonline.com/doi/full/10.1080/10408398.2013.841118
A quick pubmed search will point you to more articles about alcohol and health.
I wonder if the same is happening to you. When I was a vet student, after physiopathology (and even worse after infectious diseases), I became super black and white about certain behaviors, aka, why would I eat X if it does Y to me, or why would I risk getting Z. Fast forward 15+ years and that's fortunately all gone; being a person who can take informed risks is probably the best side effect of learning.