The pharynx carries food from the mouth to the esophagus. The esophagus takes food to the stomach. The pharynx also carries air to the trachea and larynx, or voice box.