... the little rectangular chip inside the square black box at the left of the circuit board is the sensor a digital camera uses to capture an image ... the film inside of the cardboard is what was used in the olden days ...
... note: as relates to photography, other than technical reasons, it really doesn't matter which of these is behind a lens ...
... {this image, by the way, was taken using a forty year-old darkroom enlarging lens attached to a modern digital camera} ....