Galactinol synthase (GolS) is a key enzyme in raffinose family oligosaccharide (RFO) biosynthesis. The finding that GolS accumulates in plants exposed to abiotic stresses indicates RFOs function in environmental adaptation. However, the evolutionary relationships and biological functions of GolS