Pectin consists of a complex set of polysaccharides that are present in most primary cell walls of plants. 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. Pectin can also be used to stabilize acidic protein drinks, such as drinking yogurt, and as a fat substitute in baked goods.