When we breathe, the vocal cords and epiglottis open to let air through. When we swallow, however, the epiglottis closes to prevent food from getting into the trachea and the lungs.