Pectin is a natural polysaccharide present in fruits that helps in gel formation, which is essential for making jelly. It provides the desired texture and consistency.