Food that is being taken to space must be lightweight, compact, tasty and nutritious. Astronauts need different nutrition content when they are in space to stay healthy. For instance, they need more calcium and Vitamin D to keep the bones strong because bones get weaker when you are floating as there is less physical work to do.
The first food packaging that was introduced in space is food in tube-like containers which are then squeezed into the mouth. Does squeezing food into your mouth like toothpaste sound unpleasant to you? You are not alone! Astronauts also felt the same way, so scientist found better ways to make the food tastier and easier to eat.