What is the purpose of vinegar in this lollipop recipe? I found a recipe for lollipops. It uses 2:2:1 ratio of sugar:water:vinegar. What exactly is the role of vinegar in it?
The recipe was:


10 spoons of granulated/crystalic sugar
10 spoons of water
4 spoons of vinegar
food coloring

Combine ingredients and cook approx 10-12 minutes since water has started to boil. All water has to boil out. You can test if it is boiled enough by making a drop.
It is simply to add tartness to add some balance against the sugar. The water from the vinegar will evaporate and leave behind acetic acid. There is an old fashioned type of hard candy known as vinegar candy. Your lollipop is essentially just that candy on a stick.