Pharmacovigilance is the science concerned with detecting, evaluating, understanding, and preventing adverse effects and problems associated with the use of medications, with the goal of ensuring patient safety and promoting the safe and effective use of treatments.