The function of is MHC molecules to sense foreign antigens, and hence the presence of 'foreign' proteins. They bind peptide fragments from pathogens onto their cell surface. Once there, the fragments are recognized by T-cells. Adaptive immunity depends on this reaction.