Pharmacology is the study of how chemicals interact with living organisms and affect biochemical functions, primarily concerning drug safety and efficacy. The two main areas are pharmacokinetics, which describes what the body does to a drug, and pharmacodynamics, which describes what a drug does to the body. Drugs are administered through various routes and undergo absorption, distribution to tissues, metabolism in the liver, and elimination from the body, mostly through urine or feces.