The larynx has three main functions:
1. Protection of the lower airways by closing during swallowing to prevent food/liquid from entering the lungs.
2. Respiration by regulating airflow through vocal cord movement during inhalation and exhalation.
3. Phonation by generating voice through vocal cord vibration caused by the interaction between aerodynamic forces and muscular action of the cords.