To transport de-oxygenated blood to the heart from the rest of the body. The only exception is the pulmonary vein, which carries oxygenated blood from the lungs to the heart.
The average of a set of numbers is equal to the sum of those numbers divided by the number of numbers. So, one might say that the average function is equal to the sum function divided by the count...