Several factors can influence the affinity between a ligand and its target. These include the chemical structure of the ligand, the presence of specific functional groups, the three-dimensional conformation of both the ligand and the target, and environmental conditions such as pH and temperature. Alterations in any of these factors can modify the affinity and, consequently, the toxicological profile of a substance.