People started adding iodine to salt because in some parts of the world serious, chronic iodine deficiency was incredibly widespread, which was causing a range of health issues. But how was that solution arrived at?
Research:

Behind the Scenes Minis: Progressive Medicine
22:11

Coley's Toxins and the Origins of Immunotherapy
38:27

Philippe Pinel
39:12