Hello Ravi. While both pastila and marshmallows fall into the confectionery category and involve aerating a base, they are fundamentally distinct in their culinary composition, structural chemistry, and sensory profile.
From an ingredient perspective, a modern marshmallow is built on sugar, water, and a structural gelling agent, typically gelatin. The gelatin creates an elastic, rubbery network that traps air bubbles during whipping, resulting in a light, pillowy, and springy confection with a neutral, sweet profile that melts rapidly.
In contrast, traditional pastila (such as the well-known Belyov or Kolomna styles from Eastern Europe) is fundamentally fruit-based. It is made by baking sour, high-pectin apples, pureeing them, and whipping that fruit puree together with egg whites and sugar. Rather than using gelatin, pastila relies on the interaction between natural fruit pectin and egg white proteins to hold its structure. The whipped mass is then slowly dried or baked at very low temperatures for several hours.
Because of these differing foundations, their textures are completely different. Marshmallows are spongy, bouncy, and soft. Pastila has a much denser, layered consistency resembling a tart fruit sponge cake or a firm fruit souffle, offering a pronounced, concentrated fruit flavor rather than pure sweetness.
I hope this breakdown gives you a clear understanding of the differences. Let me know if you have any questions about how either is prepared.