The alveoli are surrounded by tiny blood vessels, called capillaries. The alveoli and capillaries both have very thin walls, which allow the oxygen to pass from the alveoli to the blood. The capillaries then connect to larger blood vessels, called veins, which bring the oxygenated blood from the lungs to the heart.