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.
History and naming of human leukocyte antigens
Human leukocyte antigens (HLA) began as a list of antigens identified as a result of transplant rejection. The antigens were initially identified by categorizing and performing massive statistical analyses on interactions between blood types. This process is based upon the principle of serotypes. HLA are not typical antigens, like those found on surface of infectious agents. HLAs are "allo"antigens, they vary from individual to individual as a result of genetic differences.
An organ called the thymus is responsible for ensuring that any T-cells that attack self proteins are not allowed to live. In essence, every individual's immune system is tuned to the specific set of HLA and self proteins produced by that individual; where this goes awry is when tissues are transferred to another person. Since individuals almost always have different "banks" of HLAs, the immune system of the recipient recognizes the transplanted tissue as non-self and destroys the foreign tissue, leading to transplant rejection. It was through the realization of this that HLAs were discovered.