The purpose of the avleoli is for gas exchange between the blood and the lungs. The lungs give the blood oxygen for cellular respiration and the blood gives carbon dioxide … ; which is a bodily waste. Alveoli are located in the lungs, connected to the bronchioles. 6 people found this useful.