during the exchange of air in your lungs, oxygen is being taken into your bloodstream while this substance is being released?

Carbon dioxide.