Drug allergies occur when the body's immune system reacts adversely to a medication. They are a subset of adverse drug reactions, distinguished by an immune-mediated response. While most drug reactions are predictable based on the drug's pharmacological profile, drug allergies are unpredictable and can vary widely in severity.