In human anatomy, the trachea or windpipe, is a tube that connects the pharynx and larynx to the lungs, allowing the passage of air. It is lined with pseudostratified ciliated columnar epithelium cells with goblet cells that produce mucus. This mucus lines the cells of the trachea to trap inhaled foreign particles that the cilia then waft upward toward the larynx and then the pharynx where it can be either swallowed into the stomach or expelled as phlegm. It has an inner diameter of about 25 millimetres (1.0 in) and a length of about 10 to 16 centimetres (4 to 6 in). It commences at the lower border of the larynx, level with the sixth cervical vertebra, and bifurcates into the primary bronchi at the vertebral level of thoracic vertebra T5, or up to two vertebrae lower or higher, depending on breathing. There are about fifteen to twenty incomplete C-shaped cartilaginous rings that reinforce the anterior and lateral sides of the trachea to protect and maintain the airway, leaving a membranous wall (pars membranacea) dorsally without cartilage. The trachealis muscle connects the ends of the incomplete rings and contracts during coughing, reducing the size of the lumen of the trachea to increase the air flow rate. The esophagus lies posteriorly to the trachea. The cartilaginous rings are incomplete to allow the trachea to collapse slightly so that food can pass down the esophagus. A flap-like epiglottis closes the opening to the larynx during swallowing to prevent swallowed matter from entering the trachea. Lined with respiratory epithelium.