Cooking food correctly helps prevent food poisoning. Most raw foods contain food-borne pathogens such as parasites, bacteria, and viruses that can seriously injure and kill a human being. Cooking ensures that all microorganisms are destroyed, making the food safe for human consumption.