They common thing is that they're image files, I suppose.
They are completely different formats. One is a lossy format (JPG), the other is lossless (PNG). As such, their compression algorithms are completely different. Also, PNG has a transparency layer, while JPG does not.
Anything common between them and their image resolution files?
I have no idea what you're asking here. Image files can be any resolution you want.