The purpose of combining white vinegar and apple cider is to give the vinegar a sweet flavor. The flies will be drawn to the combination because of the sugar, which also includes soap.