Which anatomical partition separates the thorax and contains the heart, esophagus, trachea, and thymus?
a) Diaphragm
b) Abdominal cavity
c) Pelvic cavity
d) Nasal septum