Pharynx serves both digestive and respiratory systems. Epiglottis, a cartilaginous flap, prevents food from entering the trachea during swallowing.