The pharynx divides into two places near the top of the neck. It divides into:  The windpipe at the front, which goes to the lungs. The windpipe is also known as the larynx and trachea. The tube at the back, which goes to the stomach. It is known as the esophagus.