
Food deteriorates over time, and the rate of deterioration is determined by food acidity, oxidation, and food temperature.
The acidity [acidity: the amount of acid in a substance, shown by a low pH. Can also means 'sharp or tart to taste'. ] or pH of a food affects both its taste and the rate at which microorganisms grow within it. Oxidation [oxidation: chemical reaction in which a substance combines with oxygen ] of food is caused by enzymes in the food reacting with oxygen in the air. This enzymic discolouring can be slowed by the addition of an acidic substance.
Both heating and cooling can be used to vary the rate at which food deteriorates as a result of the action of microorganisms [microorganisms: microscopic (too small to see) organisms such as bacteria and viruses ].
Some foods, such as citrus fruits, are acidic; others, such as sodium bicarbonate, are alkaline [alkaline: opposite to acidic. Alkaline substances react with acids, neutralising them, and forming salts. ]. The more acid the food is, the lower it will be on the pH scale. The more alkaline the food is, the higher it will be on the pH scale. Foods that are neither acid nor alkaline (for example pure water) are called neutral and have a pH value of 7.

Acidity or alkalinity of food is important for two reasons: it affects the taste of a product and it affects the rate at which microorganisms grow within and upon food. For example, lemon juice can be used to reduce the pH level of yoghurt, to a pH below 4.5. This inhibits the growth of microorganisms, making the yoghurt last longer, but it will also give it a sharp taste.
Three types of microorganisms affect food: bacteria [bacteria: Single-celled micro-organisms, some of which are pathogenic in humans, animals and plants. Singular is bacterium. ], moulds [moulds: multi-cellular microorganisms. They are made up of many tiny fungi (spores), which travel by air to land on food surfaces. ] and yeasts [yeasts: Yeasts are single-celled organisms found on the skin of fruit which aid its deterioration. ]. By a natural chain of events, these microorganisms will cause food to change - often, but not always, making food "bad" or unpalatable [unpalatable: unpleasant to taste ].