CMOS and CCD sensors both convert light into electronic signals, with CMOS using pixel-level transistors for faster, energy-efficient processing, while CCD transfers charge across the chip for superior image quality but with slower speed and higher power consumption.