Guide
How Do Cameras Work?
Point a camera at a scene, press a button, and a moment later you have a picture. It feels instant, but inside the camera a careful piece of physics has just happened. Light from the scene has travelled through a lens, been bent into a sharp image, and been caught by a sensor that turned it into numbers. Cameras have done this in one form or another for nearly two hundred years. The earliest photographic cameras used light-sensitive materials on plates, including metal plates and later glass plates. Modern cameras use electronic sensors, but the basic idea is still to form an image from light and record it.
The short answer: A camera works by letting light onto a sensor, usually through a lens. The lens bends the light to form a sharp image, the aperture and shutter control how much light gets in and for how long, and the sensor turns the light into numbers that are stored as a photo.
A dark box and a lens
A simple camera is a light-tight box with an opening at the front and a recording surface at the back. Many cameras use a lens to form a sharper image. Light from the scene enters through the opening, and the box keeps out all other light, so only the light from the scene reaches the back. Without the dark box, light from every direction would wash over the recording surface and no picture could form.
The opening holds a lens, a curved piece of glass that bends light. A lens bends light from points in the scene so that, when the camera is focused at the right distance, the rays from those points form sharp points on the sensor. That is what makes the image sharp. Move the lens a little closer or further away and the meeting point shifts, which is how the camera focuses on things near or far.
The aperture: how much light gets in
Inside the lens sits the aperture, an opening that can be made wider or narrower, much like the pupil of your eye. When a camera is set to automatic exposure, it may narrow the aperture in bright light and widen it in dim light. Photographers describe the aperture using an f-number, which relates the lens's focal length to the width of the opening. A smaller f-number means a wider opening.
The aperture does more than control brightness. A narrow aperture usually increases the depth of field, so more of the scene can appear acceptably sharp, which is useful for a landscape. A wide aperture usually reduces the depth of field, helping a portrait subject stand out against a softer, blurrier background. It is one of the main creative controls on a camera.
The shutter: how long the light stays
Many cameras use a mechanical shutter, made of curtains or blades, to control how long light reaches the sensor. Others use an electronic shutter that controls the exposure without moving a physical curtain. That time can be very short, such as one thousandth of a second, or much longer, such as several seconds. A fast shutter can make moving subjects look sharp, provided it is fast enough for the subject's speed and the camera's movement. A slow shutter lets moving things blur, so a waterfall turns into a smooth ribbon of white.
Aperture and shutter work together. If the light is bright, you can use a narrow aperture or a fast shutter, or both. If the light is dim, you may need a wider aperture, a slower shutter or a higher ISO setting, which increases the camera's amplification of the sensor signal. Getting the balance right is what photographers call exposure, and modern cameras measure the light and set it for you.
The sensor: turning light into numbers
At the back of a modern camera sits a sensor, a flat chip covered in millions of tiny light-sensitive areas that record incoming light. Each pixel measures how much light falls on it, and turns that measurement into a number. The camera then joins the numbers from all the pixels into a picture file that can be stored, shared and printed.
A pixel on its own can only measure brightness, not colour. In many digital cameras, tiny red, green and blue filters sit over the sensor's light-sensitive areas in a repeating pattern. Each filtered area records one part of the colour information. The camera then uses measurements from neighbouring areas to estimate the full colour at each point in the picture. That is why a photo file is really a list of numbers, and why the same photo can be printed large or small, brightened or darkened, long after it was taken.
Focus and zoom
Focus is about lining up the lens with the sensor. When you focus on a nearby flower, the lens moves so that the light from the flower meets exactly on the sensor, while light from distant trees meets in front of or behind it and looks blurry. Modern cameras use methods such as measuring image sharpness or comparing light patterns to work out how to adjust the lens for focus.
Zoom changes how much of the scene the camera sees. A zoom lens can change its focal length, which is the distance over which it bends the light. A short focal length gives a wide view, good for a landscape. A long focal length gives a narrower view and makes distant subjects appear larger in the picture, which is useful for wildlife photography. Many phones use several small camera modules with different views, switching between them to give wide or more zoomed-in pictures. Some also use software to enlarge or improve the image. The physics is the same, only the size has changed.
Last reviewed 25 November 2026 by Masood Ur Rehman, PharmD.