The function of the arteries is to carry oxygenated blood away from the heart under high pressure and speed (except in the case of the pulmonary artery where the blood is deoxygenated). It's adaptations are having walls with a lot of muscle and elastic tissue in to withstand the high pressure the blood is under, having a smaller lumen, and not having valves.The function of the veins is to carry deoxygenated blood back to the heart under lower pressure and speed (except in the case of the pulmonary vein where the blood is oxygenated). Their adaptations are having thinner walls and larger lumen, and having valves to prevent the backflow of blood.The function of the capillaries is to be the site of gas exchange between the blood and the tissues. Oxygen diffuses through the capillary wall from the blood into the tissues, and carbon dioxide diffuses from the tissues into the blood. They are adapted to this by having very thin walls which are only 1 cell thick to allow the gas exchange to occur.