Which of the following is NOT a function of cardiovascular system?

A: moving white blood cells to infection sites.
B: moving oxygen throughout the body.
C: building immunity towards diseases.
D: transporting nutrients throughout the body.