In a nutshell, SVGs are vector files whereas PNGs are raster files. If you stretch a PNG file too far or squeeze it too small, it becomes blurry and pixelated. SVGs don’t contain any pixels, so they’ll never lose resolution. Additionally, PNGs don’t support animation.