The upper opening of the windpipe is guarded by a muscular flap called
Epiglottis
The upper opening of the windpipe is guarded by a muscular flap called epiglottis. The epiglottis closes the windpipe at the time of swallowing food. Incomplete closure by the epiglottis results in coughing as the food wrongly enters the windpipe.