Well number 1 is generally to stop you from dying
For 2 its main function is to distribute oxygenated blood from the heart around the body and to return de-oxygenated blood to the lungs.
Thats the *very* basic version of it. You should be able to find some more at:
http://en.wikipedia.org/wiki/Circulatory_system