The writer is introducing an idea by comparing it to a situation most people would understand or experience.
By saying "Perhaps you wanted pizza for dinner, but you were out voted by the rest of the family who wanted chili" people are able to relate and compare to this situation.