Low res jpgs and gifs are called "raster" or "bitmap" files. When a low res file is kept small, it looks just fine. But when enlarged, each pixel gets blown up and gives the image a fuzzy look.
Vector files are made of paths (lines and anchor points) that are more like an engineering CAD drawing. When this type of file is enlarged, each