Microorganisms can cause food deterioration by utilizing nutrients in food and producing enzymatic changes or new compounds that cause spoiling. To prevent spoilage, contact between microorganisms and food must be minimized by eliminating microorganisms from foods and understanding food preservation methods. Microorganisms are found in many places including soil, water, plants, equipment, food handlers, and air. They can be beneficial by aiding fermentation or pathogenic by causing foodborne illness or spoilage. Factors like pH, water activity, nutrients, and temperature affect microbial behavior in food.