This candy is typical of Shuttle-era menu choices. Most foods stocked on the Shuttle are processed for storage at room temperature and packaged in individual portions. Some commercial products, like cookies and candy, are packed for spaceflight in a standard wrap with a bit of Velcro so the item can be attached somewhere without floating away. This item was returned from the STS-27 Space Shuttle mission (Atlantis) in 1988.
This object is on display in Human Spaceflight at the Steven F. Udvar-Hazy Center in Chantilly, VA.