a typical marshmallow contains sugar, corn syrup, and gelatin, plus some air. that's it. "a marshmallow is basically a foam that's stabilized by gelatin," says richard hartel, a food engineer at the university of wisconsin-madison. in marshmallows, the foam is made up of air suspended in the liquid sugar mixture.