The pharynx is an organ in the back of the throat. It is also the meeting point of the digestive and the respiratory systems. The opening of the respiratory system in the pharynx is called the glottis. It is guarded by a cartilagenous flap called the epiglottis which prevents food or liquid from going into the respiratory system. It closes during swallowing action. As such, it is part of the gastrointestinal system. It comes after the mouth and before the esophagus. Food and air go through the pharynx. The pharynx keeps food and liquids out of the lungs.