Do you know what a pixel /is/?
Anyhow, in a Bayer-pattern sensor, half the pixels are green, and one-quarter each are red and blue. This is because the eye has greater sensitivity to green light and sees more detail at green wavelenghts.
The number of pixels has a strong bearing on image quality. The more pixels, the more you can enlarge the image. However... the output of the sensor requires processing, and the quality of the processing affects the quality of the image. In addition, the smaller the sensor for a given number of pixels, the noisier the image is, and the less it can be enlarged. So, you can't automatically assume that more pixels will necessarily give better image quality.
That's about as simple an explanation as you can get. Please get a book and read.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic