Pectin, commonly sourced from apples or citrus peels, is a hydrocolloid used as an emulsifier, gelling agent, stabilizer and thickener. Commonly used in foods including fruit preserves and gummy candy and in time-releasing coatings in medication capsules.