In the alveoli, blood gets rid of carbon dioxide and picks up oxygen from the air we breathe in. The alveoli are lined up beside very small blood vessels.