Pectin is a naturally occurring starch that is found in varying degrees in fruits and vegetables. It is what makes jams and jellies firm when they are cool. When combined with acid and sugar, and cooked to a high temperature, it forms a gel.