Sensor size allows a camera to fit more information (in this case, pixels) into a single image: the more information, the greater the image's detail.