Arteries bring oxygenated blood to the parts of the body (carry blood from the heart).
Veins bring deoxygenated blood back to the heart (carry blood to the heart).
Capillaries' primary function is the exchange of materials between the blood and tissue cells. They form the connection between arteries and veins.