The thymus is important in the development of the immune system early in life. The thymus is a small gland located under the breastbone. In adults with myasthenia gravis, the thymus gland may be abnormal.