Agar je přírodní hydrokoloid extrahovaný z několika druhů červené řasy, hlavně druhů Gelidium, Gracilaria a Pterocladia.