One of the hardest optimization goals when showing images to your website (and mobile application's) visitors, is to minimize the image file size while maintaining high enough display quality.
Smaller image file sizes directly translate to faster load times, reduced bandwidth costs and improved user browsing experience. But small file sizes directly translate to lower image quality and may harm visitor satisfaction. Maintaining just the right balance is both crucial and hard.