Digital cameras work by focusing light onto an electronic sensor that converts the light information into digital data made up of ones and zeros. The sensor is either a CCD or CMOS chip. Key differences between digital and film cameras are that digital cameras have built-in computers to electronically record and store images, while film cameras rely on chemical and mechanical processes and do not require electricity. Resolution, focal length, storage, file format, and understanding of pixels are also important factors for digital cameras.