When an allergic individual is exposed to an allergen, their immune system mistakenly identifies it as a harmful substance. This triggers the production of IgE antibodies, which bind to mast cells and basophils. Upon subsequent exposures, these cells release chemicals such as histamine, causing the symptoms associated with allergic reactions.