Gelatin is hydrolysed collagen, the main protein in animal connective tissue, and therefore could potentially come from a nonkosher source, such as pig skin. Gelatin has historically been a prominent source of glue, finding uses from musical instruments to embroidery, one of the main historic emulsions used in cosmetics and in photographic film, the main coating given to medical capsule pills, and a form of food including jelly, trifle, and marshmallows; the status of gelatin in kashrut is consequently fairly controversial.