The study of the molecular and biochemical interactions between a drug and its target receptor or enzymes.