why generally dry fruits and vegetable are sold in sealed air tight packets
Your friend is right.
Air tight packets helps to keep the eatables away from moisture and microbes and keep the food fresh for longer as well.
@ Harshita: Good answer! Keep Posting!!