Food safety is a major focus of food microbiology. Pathogenic bacteria, viruses, and toxins produced by microorganisms are all possible contaminants of food. However, microorganisms and their products can also be used to combat these pathogenic microbes. Probiotic bacteria, including those that produce bacteriocins, can kill and inhibit pathogens. Alternatively, purified bacteriocins such as nisin can be added directly to food products. Finally, bacteriophages, viruses that only infect bacteria, can be used to kill bacterial pathogens. Thorough preparation of food, including proper cooking, eliminates most bacteria and viruses. However, toxins produced by contaminants may not be heat-labile, and some are not eliminated by cooking.