Arteries carry oxygenated blood away from the heart, with thick and elastic walls to withstand high pressure. Veins, on the other hand, transport deoxygenated blood back to the heart, characterized by thinner walls and valves to prevent backflow. Capillaries, the smallest vessels, facilitate the exchange of nutrients and waste between blood and tissues through the thin walls.