Food/foods are one of several examples of words that, depending on context, can be used as countable or non-countable. So, either could be correct depending on context. For example, "Tacos are a variety of food that originate from Mexico. But there were a variety of foods that were prepared for the fiesta."
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: