system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does a digital camera turn light from a lens into a series of 0s and 1s?
gpt
The sensor in a camera is made up of millions of tiny capacitors that can hold an electrical charge.

Light from the lens is turned into a charge in the capacitor, with more charge building up the more intense the light is.

Circuitry in the camera then is responsible for shifting that charge off of the array, where it converts into a voltage. Those voltages are then sampled and stored as a sequence of 0s and 1s for later display.