Iatrochemistry was a branch of both chemistry and medicine in the 16th and 17th centuries, focusing on the chemical solutions to medical problems. It laid the groundwork for modern pharmacology by emphasizing the use of minerals and chemical compounds in treating diseases, diverging from traditional herbal and humoral approaches.