Because you can pick the format that is right for the content, medium or platform where you use the images. For example, JPG images are generally better at storing digital photography than PNG. But PNG is better at storing vector graphics. WEBP is better for storing photos online.