Medication allergy is an adverse immune reaction that occurs when a person's body responds negatively to a specific medication or drug. This condition requires identification and avoidance of the offending medication to prevent potentially serious allergic reactions.