A digital camera operating on the single-lens reflex principle, in which both viewfinding and the taking of the photograph use the same lens. This is achieved by having a mirror between the lens and image sensor that reflects the light into the viewfinder until the shutter is pressed. When the shutter is pressed, the mirror lifts up and the light falls directly on the sensor.