Peach Preserves

Ingredients: Peaches, sugar, pectin, potassium sorbate.

What are the functions of each ingredient?

The product is very "runny". How could you fix this?