A .JPEG (or .JPG) file is a raster image format best known for storing photographs and realistic images.
Lossy compression: Reduces file size by permanently removing some image data—this can lower quality, especially after multiple saves.
Efficient for photos: Great at handling smooth colour gradients and complex imagery.
Widely supported: Can be opened on nearly any device or platform.
No transparency support
Not ideal for crisp edges or text (use PNG or vector for that)
Quality degrades with repeated editing/saving
Analogy:
A JPEG is like a printed photo in a magazine—highly detailed, but if you photocopy it too many times, it starts to blur.