Antigen
Also, an antigen is a molecule that binds to Ag-specific receptors, but cannot necessarily induce an immune response in the body by itself. Antigens are usually proteins, peptides (amino acid chains) and polysaccharides (chains of monosaccharides/simple sugars) but lipids and nucleic acids become antigens only when combined with proteins and polysaccharides. In general, saccharides and lipids (as opposed to peptides) qualify as antigens but not as immunogens since they cannot elicit an immune response on their own. Furthermore, for a peptide to induce an immune response (activation of T-cells by antigen-presenting cells) it must be a large enough size, since peptides too small will also not elicit an immune response.
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.