The selection of functional T cells is mediated by interactions between the T cell antigen receptor and self-peptide major histocompatibility complex expressed on thymic epithelium. These interactions either lead to survival and development or death.