how food works