Even though sugars are often framed as simple sources of energy, they also serve as structurally complex and functionally diverse molecules that mediate interactions between organisms.