A camera is an optical instrument that captures still images or moving images and stores them locally or transmits them elsewhere. It works similarly to the human eye by using a lens to focus light and mechanisms like a shutter and aperture to control the amount of light. Different types of cameras have been developed for various uses like close-up photography, zooming, precision focusing, high quality images, video recording, and more. Modern cameras also digitally encode and store captured images.