There are two main types of digital images: vector graphics and bitmap (raster) graphics.
Vector graphics use mathematical expressions to build and display an image from points, lines, and curves, allowing it to be scaled and resized without losing quality or resolution. Bitmap images are made up of pixels and are resolution dependent, so scaling them up will reduce quality. Factors like compression, resolution, and how an image is captured or output can also impact its quality and file size.