Veins play a crucial role in returning blood from various organs back to the heart, while arteries transport oxygen-rich blood away from the heart to different parts of the body.