During an allergic reaction, your body thinks an allergen can cause you harm. Cells from the immune system release substances to fight the allergen. One of these substances is called histamine.