Megapixels are the units in which the resolution of a camera is measured, with one megapixel equalling one million pixels. The higher the megapixel-count, the more detail the camera is capable of capturing.
Each year phones come to market with higher megapixel cameras than before. However, megapixels aren’t the be-all and end-all when it comes to camera quality.
Just as important is how much light the camera lets in, as well as having a range of lenses that are designed with different photo types in mind.