This is a format that is used for RAW images on Nikon cameras. It contains metadata about the lenses that were used to take the photo, capture settings, and other conditions. It provides a record of the data array obtained by the camera sensors through the lens. It allows you to edit the sharpness, colors, and tones with no loss to the content or quality of the image, which is something that cannot be done with compressed images. It supports 12- and 14-bit images.
JPG extension was assigned to the image files. Many photos and web graphics are saved in JPG. In order to compress many bitmaps are saved in .jpg, that makes it easier to transfer and download these files on the Internet. JPG format based on the 24-bit color palette, the higher the level of compression applied to create the file JPG, the greater the decompression effect on image quality.