The document summarizes the major histocompatibility complex (MHC), which screens T cells so that only those capable of binding to MHC molecules are maintained. It discusses MHC restriction, whereby a T cell only recognizes a peptide bound to a particular MHC variant. MHC molecules are highly polymorphic, affecting the range of bound peptides and interactions with T cell receptors. MHC class I presents intracellular peptides to cytotoxic T cells, while MHC class II presents extracellular peptides to T helper cells, leading to different immune responses.