Another way to say "You go to a restaurant to eat food." is "you can eat food in a restaurant"