Vector graphics are created using pre-defined mathematical equations and are highly scalable. They are used essentially for creating high-quality logos, icons, and illustrations. Whereas raster graphics are made of pixels. They have a fixed resolution and therefore lose quality when they are scaled up too much, unlike vector graphics. They are used to create detailed images and real-life photographs.