Answer:
The lungs expel the carbon dioxide and bring in new oxygen-containing air. Only when both systems are working together can oxygen and carbon dioxide be successfully exchanged between cells and environment. There are many other examples of this cooperation in your body. :)
I hope this was the answer :3