The function of the alveoli is to get oxygen into the blood stream for transport to the tissues, and to remove carbon dioxide from the blood stream. Structure of alveoli In the lungs, air is diverted into smaller and smaller microscopic branches called respiratory bronchioles, which connect to the alveolar ducts. read more