Why is gum wrapped in foil?

Gum is wrapped in foil to preserve its freshness and prevent it from becoming stale or absorbing moisture from the air. Foil is an effective barrier against moisture, oxygen, and light, all of which can contribute to the degradation of gum. Additionally, foil is flexible and can be easily wrapped around the gum, making it a convenient packaging material. Wrapping gum in foil helps to maintain its texture, flavor, and chewing properties for a longer period of time, ensuring that it remains enjoyable for the consumer.