With the technological revolution, cameras have come a long way from the "camera obscura" or the "dark chamber" cameras in the 1900s. However, the basic functioning of the camera remains the same. So every camera essentially is a lightproof box encasing three elements, the mechanical, chemical (the film), and the optical element or the lens.