an image sensor is an electronic device that can record an image. usually, image sensors work by detecting the level, and intensity of light. most sensors work on visible light and infrared light. there are special sensors which can detect x-rays and gamma radiation. there are different ways in which to build such sensors: in 2020, the most common sensor technologies were ccd and cmos.