Antigen
Antigens are "targeted" by antibodies. Each antibody is specifically produced by the immune system to match an antigen after cells in the immune system come into "contact" with it; this allows a precise identification or matching of the antigen and the initiation of a tailored response. The antibody is said to "match" the antigen in the sense that it can bind to it due to an adaptation in a region of the antibody; because of this, many different antibodies are produced, each able to bind a different antigen while sharing the same basic structure. In most cases, an adapted antibody can only react to and bind one specific antigen; in some instances, however, antibodies may cross-react and bind more than one antigen.
ABO blood group system
It is possible that food and environmental antigens (bacterial, viral, or plant antigens) have epitopes similar enough to A and B glycoprotein antigens. The antibodies created against these environmental antigens in the first years of life can cross-react with ABO-incompatible red blood cells that it comes in contact with during blood transfusion later in life. Anti-A antibodies are hypothesized to originate from immune response towards influenza virus, whose epitopes are similar enough to the α-D-N-galactosamine on the A glycoprotein to be able to elicit a cross-reaction. Anti-B antibodies are hypothesized to originate from antibodies produced against Gram-negative bacteria, such as "E. coli", cross-reacting with the α-D-galactose on the B glycoprotein.