To propel air into the lungs.
To trap food and prevent entry into the windpipe.
To propel trapped debris upward to be expelled by the body.
For olfaction.