Louis Pasteur, a French chemist and microbiologist, was asked in the 1860s to investigate why wine and beer produced in France sometimes spoiled or developed unwanted flavors, a genuine economic problem for French producers. Through careful experimentation, Pasteur determined that microorganisms — bacteria and other microbes, not yet well understood at the time as agents of both spoilage and disease — were responsible for this spoilage, and that heating the liquid to a specific temperature for a specific period, without fully boiling or otherwise ruining it, killed these microorganisms and dramatically extended the product's shelf life and safety. This process became known as pasteurization.
While Pasteur's original work focused on wine and beer, the same principle was subsequently applied to milk, where its public health impact proved considerably more significant. Unpasteurized milk can carry a range of serious bacterial pathogens, including those responsible for tuberculosis, brucellosis, typhoid fever, and severe forms of diarrheal illness, and in the era before pasteurization became standard, contaminated milk was a major and well-documented source of serious illness and death, particularly among infants and children in rapidly growing, densely populated nineteenth-century cities where milk supply chains had become longer and less directly supervised than in earlier, more localized eras. Pasteurization of milk became increasingly standard practice through the late nineteenth and early twentieth centuries, and mandatory milk pasteurization laws, adopted progressively across various countries and jurisdictions through the twentieth century, are credited by public health historians with dramatically reducing milk-borne disease and associated child mortality.