Use PNG when precision matters.
Convert JPG to PNG when an image will be edited repeatedly, placed inside a design system, used in a presentation, or integrated into a web interface. PNG stores future edits without introducing additional lossy compression.