Pharmacology is the study of drugs, how they work in the body, their effects, and how they are absorbed, distributed, metabolized, and excreted. It guides safe and effective use of medicines.