The main use for pectin is as a gelling agent, thickening agent and stabilizer in food. The classical application is giving the jelly-like consistency to jams or marmalades, which would otherwise be sweet juices.