SVG files are vector-based. On the other hand, JPG & PNG files are pixel-based. For example- you can think of the difference between Adobe Illustrator & Photoshop.