Hello Akshita,
The larynx is also called the voice box and has the associated cartilage that produces sound. The tract consists of the nasal cavity nd paranasal sinuses, the pharynx (nasopharynx, oropharynx and laryngopharynx) and sometimes includes the larynx.
Hence larynx is a part of the thoracic cavity.
I hope your question has been answered properly. All the best!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile