It's an iconic scene in many World War II movies and TV shows: A group of G.I.s on the march encounter a group of children and offer them chocolate.
It's meant to show the goodwill and generosity of t.
In 1937, the Army approached Hershey's corporation and asked them to produce an emergency ration for the troops made of chocolate. One of the Army specifications was that it should not taste too good. The result was the D Ration. Hershey's would go on to make three billion of these "Don't taste very good" chocolate bars for allied troops.