Question: is the pharynx part of the gastrointestinal tract

Answer: Yes, The upper gastrointestinal tract consists of the buccal cavity, pharynx, esophagus, stomach, and duodenum. The exact demarcation between the upper and lower tracts is the suspensory muscle of the duodenum. This delineates the embryonic borders between the foregut and midgut, and is also the division commonly used by clinicians to describe gastrointestinal bleeding as being of either ``upper'' or ``lower'' origin. Upon dissection, the duodenum may appear to be a unified organ, but it is divided into four segments based upon function, location, and internal anatomy. The four segments of the duodenum are as follows (starting at the stomach, and moving toward the jejunum): bulb, descending, horizontal, and ascending. The suspensory muscle attaches the superior border of the ascending duodenum to the diaphragm.