The image sensor in the camera is usually connected with pixels, but it is not. Any information that comes with the camera lens is recorded on the image sensor. The larger the image sensor the picture will be as good. You can also understand it as to why the DSLR camera makes a bigger picture than the camera of the same megapixel camera. Because the big sensor is used in it, you must have heard the name of the CCD in the DSLR camera. Three CCD Image Sensors are used in a good quality camera. Today the smartphone camera manufacturer also mention the censors.