The document summarizes the lifecycle of a pixel from capturing light with a sensor to final storage as a JPEG file. It discusses how light is converted to electrical signals via photochemistry, thermal physics, or photophysics. A CMOS sensor array captures this data as pixels organized into rows and columns. A Bayer filter arranges RGB colors on the sensor. The raw pixel data is converted to RGB and compressed to JPEG format. JPEG uses discrete cosine transform (DCT) and quantization to remove high frequency data and compress the file, resulting in some loss of quality but much smaller file size.