A JPG file is just a raster photo saved in the Joint Photographic Experts Group (JPEG) and is often used to save electronic images and graphics made using image-editing applications. JPG uses lossless compression to minimize the size of an image without sacrificing quality, and it can accommodate up to up to 16 million colors.
Digital camera memory cards frequently use the JPG format. The JPG file is a brilliant format because it can compress files down to a tenth of their original size, which is extremely useful and helpful for conserving bandwidth.