A group of genes that controls several aspects of the immune response. MHC genes code for self markers on all body cells.