alpha beta T cells specifically recognize a ligand composed of a peptide bound to a self-major-histocompatibility-complex molecule, but the recognition of slightly altered ligands by T cells can lead to a partial activation. This flexibility is crucial for T-cell development and can have both beneficial and harmful effects on peripheral T cells.