The renal artery carries blood to the kidneys, while the renal vein carries blood away from the kidneys.