What is the role of the spindle fibers during mitosis?

What is the role of the spindle fibers during mitosis?