Another way to say "having food is for ending your hunger" is "A person can end his hunger with food"