Digital cameras have optical elements like the lenses as well as most operational controls in common with traditional film cameras. They use an image sensor made of light sensitive material (almost always silicon) instead of a film. The lens projects the picture onto the image plane where the image sensor samples the image with million of pixels. The resulting data is either transfered into a digital memory device (e.g. memory card) without any further processing to be processed in a computer into a viewable file, or as a processed file, typically JPG.
The term Analog Camera should refer to non-digital electronic cameras, which also have no film, such as the Olympus VC-100 still camera and most older video/TV cameras - not, as is sometimes mistakenly intended, to film cameras.