How to say 'food' in Spanish: Comida. Repeat after me: Comida.
If you want to say something like 'I like Italian food', you would say, "Me gusta la comida Italiana." Repeat after me: Me gusta la comida Italiana. That's one way to say 'food' in Spanish. The other way to say it is 'alimento'. For example, if you want to say 'I need to buy some food at the supermarket', you would say, "Quiero comprar alimentos." I need to buy some food: Quiero comprar alimentos.
The first version that we learned was 'comida', and this version is 'alimento'. These are both commonly used to refer to food, in Spanish.