The respiratory system is a biological system consisting of specific organs and structures used for the process of respiration in an organism. The respiratory system is involved in the intake and exchange of oxygen and carbon dioxide between an organism and the environment. In air-breathing vertebrates like human beings, respiration takes place in the respiratory organs called lungs. The passage of air into the lungs to supply the body with oxygen is known as inhalation, and the passage of air out of the lungs to expel carbon dioxide is known as exhalation; this process is collectively called breathing or ventilation. In humans and other mammals, the anatomical features of the respiratory system include trachea, bronchi, bronchioles, lungs, and diaphragm. Molecules of oxygen and carbon dioxide are passively exchanged, by diffusion, between the gaseous external environment and the blood. This exchange process occurs in the alveoli air sacs in the lungs. In fish and many invertebrates, respiration takes place through the gills.
Oxygen gets into the blood
Carbon dioxide gests out of the blood