Microorganisms require certain conditions like food, water, temperature, and pH levels to survive and reproduce. Food can be preserved by destroying microorganisms through methods like heating, drying, salting, pickling, fermenting, pasteurizing, canning, and freezing. These techniques either kill the microbes or prevent them from growing and spoiling the food.