The study of drugs, how they work, their physical and chemical properties, and the physiologic and biochemical ways by which they change the activity of a living system or part of it.