What is the role of anti-aliasing in vector graphics rendering?

How do vector graphics contribute to user interface (UI) design?
How do vector graphics handle color gradients and shading?