JPG to PNG takes your JPG or JPEG photos and saves each one as a PNG file. JPG stores images with lossy compression; PNG stores them losslessly. The converter decodes your JPG in the browser, applies the photo's rotation from its EXIF data so it stands the right way up, and writes every pixel into a PNG. Nothing is sent to a server.
The PNG looks exactly like the JPG you started with. It can't look better, because the detail JPG compression removed when the photo was first saved is gone, but it won't lose anything more, however many times you edit and save it as PNG. That makes PNG a good working copy for editing, adding text, or uploading to apps that ask for PNG.
A few things to expect. PNG files of photos are usually two to five times larger than the JPG, because lossless storage has to keep every pixel. Converting does not make the background transparent: the JPG had no transparency to carry over. Photos above about 16.7 megapixels, such as 24 or 48 MP shots from recent phones, are scaled down to fit the browser's canvas limit, and the tool tells you when that happens. The tool also accepts .jfif and .jpe files, which are JPGs with a different extension.