Main function is to carry oxygen and nutrients to the tissues of the body, especially the brain. secondarily, it takes away waste products from those tissues.
It's important to keep it healthy to preserve your bodies functions in an optimal state and to avoid getting strokes/heart disease/peripheral vascular disease.
(in a nutshell)