The pharynx is a muscular tube that connects the nasal cavity, mouth, and larynx, functioning in both respiratory and digestive systems. It is divided into three parts: the nasopharynx (air passage), oropharynx (food passage), and laryngopharynx (common passage), with specific anatomical features like tonsils and constrictor muscles. The anatomy includes important blood supply and nerve supply, and its structures facilitate the functions of breathing and swallowing.