What exactly is 4K 1080P Retina

What exactly is 4K/1080P/Retina?

What are the differences and connections between retina resolution, 4K screen, PPI, 1080P.