Pectin is a natural gelling agent derived from fruits. It is commonly used in jelly candy production to provide the desired texture and gummy consistency. Pectin helps the candies set and hold their shape.