Scientists have learned how sugar-based molecules behave in water depending on tiny sulfur changes. The research explains why some sugar-based surfactants form bubbles or hold mixtures together.