Anatomy of the thymus gland. The thymus gland is a small organ that lies in the upper chest under the breastbone. It makes white blood cells, called lymphocytes, which protect the body against infections.