Screen size for mobile app design

In the above image, screen size means height and width given in points. But what we do we take screen width and height in pixels. Many designers use 640*960 as screen size that is the resolution of retina devices. Can anyone explain to me what exactly the screen size mentioned in points and resolution in pixels are, when to use them and why.