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. It is also known as larynx and trachea. The tube at the back which goes to the stomach. It is known as the esophagus.