The primary function of the respiratory system is gas exchange, but it is also involved in speech. Which organ of the respiratory system enables the generation of sound?

A. Pharynx
B. Larynx
C. Trachea