The widely used JPEG file format has lossy compression, which means that image data is lost when files are made smaller. The format was created in the 1990s; JPEG 2000, its successor, has JP2, JPX and ...
The files with AI extension represent the vector images created in Adobe Illustrator software. Graphics designers use Adobe Illustrator to create different types of images, like banners, logos, ...