The JPEG standard has a number of variations which were created for specific reasons.
This page explains the differences between two common formats: JFIF and EXIF.
The differences are due to the additional supplementary information which is added to the
original image, for example the shooting conditions of the camera, global positioning
system (GPS) information and so on. This data is usually stored in an areas that are
called "APPn" (where "n" is the number 0,1,2 etc).
JFIF
The JFIF variation is commonly used in the imaging industry. Most software applications
save files in this format. JFIF uses the APPn areas to store information such as copyright
and captions (IPTC text) and profile information for colour management (icm data).
EXIF
The EXIF format was created for use in Digital Cameras. It specifies the APPn areas to
store information such as the state of the camera (shutter, aperture white balance etc)
when the image was recorded and GPS data if supported.
Most imaging software applications can open both types of JPEG file, but most digital
cameras can only display EXIF format images. When a EXIF file is opened in an
imaging program like Photoshop and then saved, the file is changed into a JFIF
format with a result that the image can no longer be opened by the camera and the shooting
data is lost.
(Nikon Capture for the D-1 is able to save images in EXIF or JFIF format)
For infomation on EXIF, please see:http://www.jeida.or.jp/document/standard/jeida49.html#english.