The relationship between the chemical structure of a compound and its biological or pharmacological activity. Compounds are often classed together because they…