Renal artery function is to carry oxygenated blood to your kidneys.
Renal vein function is to drain oxygen-depleted blood from the kidneys.
pulmonary arteries function is to carry deoxygenated blood away from your heart to your lungs.
pulmonary veins function is to carry oxygenated blood away from your lungs to your heart.