The trachea is a cartilaginous tube that connects the pharynx and the larynx to the lungs. The trachea allows the flow of air and is present in almost all mammals with lungs. When you inhale air through your nose and mouth, it travels down the back of your throat, passes through your voice box and into your windpipe. Half the length of the trachea is inside the chest, while the other half of the trachea is in the neck. Before reaching the lungs, the trachea splits into two tubes called primary bronchi. Each tube enters one lung. Within the lungs, the primary bronchi divide into smaller bronchioles.