The usual upright position of the epiglottis allows air to flow into the lungs and the larynx. When you swallow, the epiglottis flattens backward to cover the entrance to your larynx and prevent food from entering the lungs and windpipe. The epiglottis returns to its usual position after swallowing.