Allergies occur when the immune system overreacts to a substance that is normally harmless, such as pollen, dust mites, or certain foods. When the immune system encounters an allergen, it produces antibodies that trigger the release of histamine and other chemicals, causing allergy symptoms like itching, sneezing, and inflammation.
source