An SVG stores shapes, curves, and fills as math, so it stays sharp at any size. A JPG stores a grid of pixels. The program traces your JPG or JPEG into a vector in your browser (raster-to-vector conversion). Use flat artwork: logos, icons, line drawings, and simple graphics. Photos are a poor fit.