Pharmacodynamics is the study of the action of a drug in the body over a period of time, including the processes of absorption, distribution, localization in the tissues, biotransformation, and excretion.