An allergy test detects how your immune system reacts to certain substances, known as allergens.
When your body mistakes harmless particles — such as dust, food, or pollen — as dangerous, it produces antibodies called IgE, leading to allergy symptoms.