The arteries going to the lungs get progressively smaller. This allows the carbon dioxide to leave the blood and go into the air we breathe out. It also allows the oxygen to enter the blood from the air we breathe in.