What is the advantage of pasteurizing foods (fruits, nuts, etc.)?

Food safety. Pasteurization is a process of heating a food product to a specific temperature for a set length of time to decrease its microbial content and slow its spoilage. Milk and juice are examples of pasteurized products. The use of pasteurization has lead to huge advances in food safety, especially infant deaths due to food-borne illness. A side effect that some vitamin & mineral content is lost.