Can you explain the concept of vectorization in relation to converting raster images to vectors?

How do vector graphics handle complex shapes and curves?
What are some considerations for optimizing vector graphics for web delivery?