The epiglottis is a flap that prevents air from going down the esophagus and stops food from going down the trachea.
If this stopped working, you wouldn't be able to swallow your food, or breathe properly, and you'd probably choke and eventually die from it.