Vector graphics use geometric formulas to create shapes that can be resized and modified without quality loss, while raster graphics represent pixels in a grid that cannot be resized without quality loss. Common file formats include GIF, which uses a color palette to reduce file size and is good for icons and logos but lacks photo quality, and PNG, a compressed format that supports more colors and transparency but larger files.