Thymocytes are immature T cells that develop in the thymus gland from progenitor cells originating in the bone marrow. They undergo several stages of differentiation and selection processes within the thymus, which are crucial for ensuring that functional and self-tolerant T cells are produced for the immune response.