Step-by-step explanation:
Co2 and O2 in the lungs are exchanged when alveoli send oxygen to the capillaries surrounding them to the nearby blood vessels which contain c02, and osmosis occurs where o2 is now in the vessels while co2 is now in the alveoli and therefore the lungs, and then the co2 is expelled out of the lungs.