What is Vector graphics?
Vector graphics describe shapes with mathematical paths, so they stay sharp at any size, unlike pixel-based images.
Logos and icons are best as vectors, such as SVG. Photos are pixel based. Convert a vector to PNG only when a place needs a raster image, and pick a size large enough.
Because vectors store instructions rather than pixels, files are often tiny, and you can edit colours with code. Very detailed artwork, such as photos, is not suited to the format.