The marshmallow is a confection that, in its modern form, consists of sugar or corn syrup, beaten egg whites, gelatin that has been pre-softened in water, gum arabic, and flavorings, whipped to a spongy consistency.