The epiglottis is a flap of tissue at the upper part of the larynx. It covers the trachea during swallowing so that food does not enter the lungs.