Does the iPhone 6 have more megapixels than the iPhone 5?
All current iPhone models (iPhone 5 and later) have an 8-megapixel iSight camera but this does not mean that all the cameras are the same. Both the iPhone 6 and 6 Plus feature new Apple technology, like Focus Pixels, and other improvements. For example, the iPhone 6 has improved Panorama and face detection and the iPhone 6 Plus has Optical image stabilization, which is not found on the iPhone 5, 5s or iPhone 6.
You can learn more about the iPhone 6 camera here and the iPhone 6 Plus camera here.