The sugar strengthens the gel by attracting water away from the pectin. Sugar also firms the structure of the fruit and helps the jam to hold its color and flavor. If you're making jam from a frui ...