The structure-activity relationship (SAR) is a key principle in toxicology, which links the chemical structure of a compound to its biological activity. For instance, small changes in molecular structure can significantly alter a compound's toxicity. The presence of specific functional groups, such as halogens or nitro groups, can enhance or reduce a compound's ability to interact with biological macromolecules like DNA or proteins, thus affecting its toxicity.