The major histocompatibility complex (MHC) is a collection of genes located on chromosome 6 in humans that encode MHC molecules. MHC molecules present peptide fragments on the cell surface to help the immune system identify infected or damaged cells. There are two main classes of MHC molecules: class I molecules present peptides from intracellular proteins on most nucleated cells to cytotoxic T cells, while class II molecules present peptides from extracellular proteins on antigen-presenting cells to helper T cells. MHC molecules play a key role in immune system functions like regulating T cell development and activating immune responses against pathogens.