Tell me whether the following are foods or beverages: coffee, water, corn, tea, rice, beef.

Beef, corn, and rice are foods.  Coffee water, and tea are beverages.