Named for the Joint Photographics Experts Group which created the standard, a JPEG or JPG is a type of file compression for images. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality. JPG is better than GIF for photos as GIF files can only have 256 different colors and JPG can have millions.
See also: gif, tiff