microorganisms need five conditions to grow quickly and multiply:
a warm temperature
plenty of moisture
plenty of food
the right pH
enough time
some microorganisms can spoilfood and others can cause foodpoisoning
changing one of the conditions needed will slow or stop the growth of microorganisms altogether eg: using a fridge, pickling the food to change pH, adding salt which absorbs water, drying it out