These formats are generally complementary to raster graphics formats, which involve representation of images in the form of arrays of dots or pixels, typically used in photographic images. Bitmap imaging is an example of raster graphics format in which every pixel is told where to go, while in vector graphics this is achieved using mathematical formulas
In Illustrator, we manually convert raster graphics/images into vector graphics. These vector-based images can be scaled indefinitely without degrading, whereas this advantage is not available in bitmap formats. Vector is favored for all kinds of logos.