The lungs transport oxygen from the air we breathe into our bloodstream while taking away carbon dioxide, which is released into the air when we breathe out.