The thymus is a lobed organ located near the heart and beneath the breastbone (sternum) in the mediastinum. It plays a key role in the immune system by aiding T-cell development. The liver and spleen are in the abdomen, and the lungs, while near the heart, are not a single lobed organ beneath the breastbone.