No history yet

How does a camera work?

Welcome! I am excited to explore the world of photography with you. Before we dive into the mechanics of how cameras work, I'd love to learn a little bit about your goals.

To help me tailor our conversation, could you tell me why you're interested in how cameras work? Are you just curious about the technology, or are you trying to learn how to take better photos with a specific camera?

I want to take better photos with my camera/phone.

Your path
How Digital Sensors and Image Processing Work
Mechanics of a DSLR (Reflex Cameras)

That's awesome! Knowing how your camera processes light will give you full control over your photos, whether you're using a smartphone or a dedicated camera.

At its absolute core, photography is just that bounces off a subject.

Think of a camera like a room with a window and a blank canvas inside. When light reflects off something in the real world and enters through the window, it leaves an imprint on the canvas. Without light bouncing off your subject, there is nothing for the camera to record!

Make a diagram showing how light enters a camera

Here is a breakdown showing how light travels from your subject into the camera to form an image.

A horizontal cross-section diagram showing light rays refracting through a convex lens, passing through an aperture and open shutter, and focusing onto a digital image sensor.

To turn those bouncing light rays into an actual photo, six core elements have to work together in harmony:
  1. Light: The energy bouncing off your scene.
  2. Subject: What you are taking a picture of.
  3. Optics (Lens): Focuses those light rays so they do not just make a blurry smear.
  4. Aperture: An opening inside the lens that controls how much light gets through.
  5. Time (Shutter Speed): A door that opens and closes to control how long light hits the sensor.
  6. Medium (Sensor or Film): The surface that records the final imprint of light.

Tell me more about the aperture

Aperture is one of the most powerful tools you have for creative control over your photos.

The is simply an adjustable opening inside your camera lens, made up of overlapping metal blades. It acts just like the iris of a human eye: when you are in a dark room, your pupil opens wide to let in as much light as possible, and in bright sunlight, it shrinks to a tiny point to restrict light.

A side-by-side optical ray comparison showing the steep light ray convergence angle of a wide aperture resulting in a shallow depth of field, next to the narrow convergence angle of a small aperture creating a deep depth of field.

I've started generating a visual comparison above to show how changing the size of the aperture alters both the amount of light entering and the depth of field.

Continue to depth of field and how aperture affects background blur

When you adjust the aperture, you're not just changing how much light enters—you're also controlling depth of field, which is how much of your scene looks sharp from front to back.

Think of it like squinting your eyes: when you narrow your eyelids, everything far away becomes clearer. In a camera, a small aperture opening squeezes light through a tight space, forcing light rays to align neatly so both your subject and the background stay in sharp focus.

A wide opening (like a low f-stop like f/1.8) gives you a shallow with a beautifully blurred background, which is perfect for portraits. On the flip side, a narrow opening (like a high f-stop like f/16) keeps everything crisp from the foreground to distant mountains, which is ideal for landscapes.