Thymocytes are T cell precursors which develop in the thymus. The processes of beta-selection, positive selection and negative selection shape thymocytes into a peripheral pool of T cells that are able to respond to foreign pathogens and are immunologically tolerant towards self antigens.