The respiratory system carries out gas exchange through a series of events. Oxygen enters the lungs through breathing and diffuses into blood in the pulmonary capillaries. Carbon dioxide diffuses out of the blood and into the lungs. The blood is then transported throughout the body where oxygen diffuses out and into tissues, and carbon dioxide diffuses out of tissues and into the blood. The blood returns to the lungs to be re-oxygenated and release more carbon dioxide through external respiration. Key factors that influence gas exchange include partial pressure gradients, hemoglobin transport of oxygen, and carbon dioxide transport primarily as bicarbonate ions. Abnormal blood gas levels can indicate various respiratory states like hypoxia or hypercapnia.