Agar or agar-agar is a gelatinous substance derived by boiling a polysaccharide in red algae, where it accumulates in the cell walls of agarophyte and serves as the primary structural support for the algae's cell walls. Agar is a mixture of two components: the linear polysaccharide agarose, and a heterogeneous mixture of smaller molecules called agaropectin.
Throughout history into modern times, agar has been chiefly used as an ingredient in desserts throughout Asia and also as a solid substrate to contain culture medium for microbiological work. Agar (agar-agar) can be used as a laxative, an appetite suppressant, vegetarian gelatin substitute, a thickener for soups, in fruit preserves, ice cream, and other desserts, as a clarifying agent in brewing, and for sizing paper and fabrics.
The gelling agent is an unbranched polysaccharide obtained from the cell walls of some species of red algae, primarily from the genera Gelidium and Gracilaria, or seaweed (Sphaerococcus euchema). For commercial purposes, it is derived primarily from Gelidium amansii. In chemical terms, agar is a polymer made up of subunits of the sugar galactose.
Read more about Agar: Background