In a typical digital camera, an image sensor captures a pixel-by-pixel image as an analog signal, which is then converted to a digital signal.
The digital signal is processed and compressed, then stored in memory.