Food was cooked, quickly frozen, and then dehydrated in a special vacuum chamber. Freeze-dried food didn't need to be refrigerated and would last a long time. To make most freeze-dried foods, astronauts squeeze water into the food packages and then eat the food after it absorbs the water.