The larynx is the structure at the back of the throat (at the entrance to the trachea) that opens to allow airflow in and out of the trachea and lungs. It also closes to prevent the entry of food and liquids into the lungs during swallowing. Also known as the voice box, the larynx enables dogs to bark and howl.