Onboard catering & food
Most of the trains in Europe have restaurant cars open to all passengers, regardless of the fare. What is offered depends on the operator but also during what time you travel. They usually serve hot food, drinks and snacks available for all customers.
Onboard catering during covid-19
Many train operators don't have onboard catering due to the current situation. And face masks are required on many trains so if possible – eat and drink before you hop on the train.