The respiratory system is responsible for the exchange of gases, primarily oxygen and carbon dioxide, between the body and the external environment. It plays a crucial role in the structural organization of the human body by facilitating the delivery of oxygen to cells and the removal of carbon dioxide, a waste product of cellular respiration.