The major histocompatibility complex (MHC) is a cluster of genes found in mammals that plays a key role in the immune system by helping the body distinguish self from non-self. The MHC was discovered through studies of inbred mouse strains and includes polymorphic glycoproteins divided into three main classes. MHC Class I and II are best known for presenting antigen peptides and interacting with T-cell receptors. Genes in the MHC are highly polymorphic, linked, and inherited as haplotypes from each parent. This polymorphism allows recognition of a diverse range of antigens and is advantageous for the immune system.