I read that CMOS image sensor technology was discovered first but then they had more noise and thus once CCD was invented, CCD got popular because of better image quality.
After decades, now we use CMOS due to its lower power consumption, speed, etc.
What exactly is the reason for CCD having better image quality over CMOS? (At least back then, now lot of research is being done in CMOS to make it better so I dont know if this statement is still valid.)