The study of the biochemical and physiologic effects of drugs and the molecular mechanisms by which those effects are produced.