Agar (/ˈeɪɡɑːr/ or /ˈɑːɡər/), or agar-agar, is a jelly-like substance consisting of polysaccharides obtained from the cell walls of some species of red algae, primarily from "ogonori" (Gracilaria) and "tengusa" (Gelidiaceae).[1][2] As found in nature, agar is a mixture of two components, the linear polysaccharide agarose and a heterogeneous mixture of smaller molecules called agaropectin.[3] It forms the supporting structure in the cell walls of certain species of algae and is released on boiling. These algae are known as agarophytes, belonging to the Rhodophyta (red algae) phylum.[4][5] The processing of food-grade agar removes the agaropectin, and the commercial product is essentially pure agarose.
Agar has been used as an ingredient in desserts throughout Asia and also as a solid substrate to contain culture media for microbiological work. Agar can be used as a laxative; an appetite suppressant; a vegan substitute for gelatin; a thickener for soups; in fruit preserves, ice cream, and other desserts; as a clarifying agent in brewing; and for sizing paper and fabrics.[6][7]
Agar is made from seaweed and it is attracted to bacteria.