"That" and "which" in the sample phases( not sentences as you mentioned) are relative pronoun. They can be used interchangeably when they represent the word "food". Moreover, "that" can be used to introduce noun clauses which(that) start with "that".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.