When traveling on a plane there are certain rules that might apply they would not if you are traveling by land on a train or a bus. There are many food items that you actually can bring along with you on an air plane but there are certain things that you cannot. First of all you cannot bring alcoholic beverages into an air plane. Many times you can, however, be served alcoholic beverages on the plane.
For that matter you pretty much cannot bring any liquids onto a plane with you. Many solid foods are absolutely acceptable though. Airlines may vary on just what is allowed amongst solid foods. It would be a good idea to check with the airline you’re traveling with before your flight.