There are some differences in meaning and usage between the two terms.
In some contexts they are interchangeable. For example, I could write in my dating app (profile):
> /
can be used to refer to not just food, but drink too.
> 15(source)
> It should come as no surprise that wine was a favorite of Leonardo Da Vinci, who lived in 15th century Italy.
can also be used as a prepositive/attributive noun to modify another noun in a noun phrase:
>
>
>
By the way, your sentences are grammatical but sound a bit strange with the topic marker . It seems you are saying you ate the food you liked and left out the stuff you didn't like.