JPEG and JPG are technically the same format — the only difference is the file extension. The .jpeg extension was used historically when operating systems required 4-character extensions. Today, .jpg and .jpeg are fully interchangeable, and both are supported universally.
Best for: Same as JPG — photography, web images, document scanning.