The respiratory system allows for gas exchange of oxygen and carbon dioxide. It consists of the upper respiratory tract which filters and conditions incoming air, and the lower respiratory tract including the lungs where gas exchange occurs in small air sacs called alveoli. The respiratory cycle involves inspiration and expiration through contraction and relaxation of the diaphragm and intercostal muscles. Disorders can impact airflow and gas exchange, and lung function is measured through volumes like tidal volume and vital capacity.