Inside the camera of your iPhone, there's an image sensor. ... The image sensor converts light or photons into an electrical signal. The image sensor consists of a huge number of individual pixel sensors that are lined up into a huge rectangle. We can think of each pixel sensor as a charge bucket.