Drying and Smoking is one of the oldest methods of preserving foodstuffs. Removing the moisture from food helps prevent bacterial and fungal growth which would ruin stored foods. Smoking is a method of drying that also imparts flavor to the food (usually meat items), and smoke helps keep bacteria-carrying-insects away during the drying process.
Drying Fruits and Vegetables (PDF)