A flexible flap of cartilage in mammals that is attached to the wall of the pharynx near the base of the tongue. During swallowing (see deglutition) it covers the glottis (the opening to the respiratory tract) and helps to prevent food from entering the trachea (windpipe), although it is not essential for this purpose.