In the last lesson, what is photography, you learned that a photograph is made by recording light. But what actually happens inside the camera in the tiny moment after you press the button? Knowing this is not just interesting. It explains why photos can look dark, blurry, noisy or strangely colored, and it helps you understand every camera setting you will learn later.
What is a digital camera?
A digital camera is a light-tight box that lets light in through a lens for a controlled amount of time, measures that light with an electronic image sensor, and turns those measurements into a picture file. Your phone camera does the same job, only in a much smaller space.
Every digital camera, from a phone to a professional camera, has the same main parts. They work like a team, passing the picture along from one to the next.
| Part | What it does | Simple comparison |
|---|---|---|
| Lens | Collects light and focuses it into a sharp picture | Like the lens in your eye |
| Aperture | An opening inside the lens that lets more or less light through | Like the pupil of your eye |
| Shutter | Decides how long light is allowed to reach the sensor | Like a window blind opening and closing |
| Image sensor | Measures the light that lands on it | Like the back of your eye |
| Image processor | Turns the sensor's measurements into a finished photo | Like the brain |
| Memory card | Stores the photo file | Like a notebook |
From light to photo: step by step
When you press the shutter button, this all happens in a fraction of a second:
- Light enters the lens. Light bouncing off your subject passes through the glass of the lens, which bends it so it forms a sharp picture at the back of the camera.
- The aperture controls the size of the opening. A wider opening lets more light through; a smaller one lets less through.
- The shutter opens and closes. For a set time, maybe 1/250 of a second, light is allowed to fall on the sensor. Then it is blocked again.
- The sensor measures the light. Millions of tiny light-sensitive spots on the sensor each measure how much light reached them.
- The measurements become numbers. The light is first an electrical signal. A converter changes this signal into digital numbers the camera can work with.
- The image processor builds the photo. It works out the colors, adjusts brightness and sharpness, and creates the final image.
- The file is saved on the memory card. Usually as a JPEG, a RAW file, or both.
Aperture and the shutter are two of the most important controls in photography. Here you only need to know what they do. You will learn how to use them in aperture and shutter speed.
Inside the image sensor
The image sensor is the heart of a digital camera. It is a small chip covered with millions of tiny light-catching spots called photosites. When light hits a photosite, it creates a small electrical charge. More light makes a bigger charge. So each photosite simply reports how bright the light was at that one spot.
Put millions of these brightness readings together and you get a picture. This is why a camera's resolution is described in megapixels: one megapixel means about one million picture points.
How does a sensor see color?
Here is a surprising fact: a photosite cannot see color on its own. It only measures how much light arrives, not what color that light is. On its own, a sensor would only make black-and-white pictures.
To see color, almost every camera places a tiny colored filter over each photosite: red, green or blue. This pattern is called a Bayer filter, named after Bryce Bayer, the Kodak engineer who invented it. In every group of four photosites there is one red, one blue and two green filters. There are more green filters because human eyes are most sensitive to green light.
So each photosite only knows one color. The camera then fills in the missing colors by looking at the neighboring photosites and making a smart estimate. This process is called demosaicing. It happens in a split second, every time you take a picture.
You will study sensors in much more depth, including sensor sizes and why some sensors handle low light better, in camera sensors and digital image capture.
The image processor: the camera's brain
The raw readings from the sensor do not look like a finished photo. They are dull, flat and not yet in full color. The image processor turns them into something you would want to look at. It fills in the colors, decides how white objects should look, increases contrast and color, sharpens edges, reduces noise and finally saves the file.
JPEG and RAW: two ways to save the photo
At the end of the process the camera saves your photo in one of two main ways, and many cameras can save both at the same time.
| JPEG | RAW | |
|---|---|---|
| What it is | A finished photo, processed by the camera | The sensor data with very little processing |
| Ready to share? | Yes, straight away | No, it must be processed on a computer first |
| File size | Small | Large |
| Editing room | Limited, because some information is thrown away | Much more, because more information is kept |
A JPEG is like a cooked meal: ready to eat, but you cannot easily change the recipe. A RAW file is like the fresh ingredients: you still have to cook it, but you have far more control over the result. You will compare them fully in RAW versus JPEG.
DSLR and mirrorless: one big difference
Interchangeable-lens cameras come in two main designs. Both create the photo in the same way. The difference is how you see the scene before you take the picture.
- DSLR cameras have a mirror inside. Light from the lens bounces off the mirror up into an optical viewfinder, so you see the scene through glass. When you take the picture, the mirror flips up for a moment so the light can reach the sensor.
- Mirrorless cameras have no mirror. Light goes straight to the sensor all the time, and the camera shows you a live electronic picture on the rear screen or in an electronic viewfinder.
Because there is no mirror box, mirrorless cameras can be smaller, and what you see on the screen is close to what the photo will look like. You will learn about the different viewing systems in viewfinder, live view and playback.
Common misunderstandings
- "More megapixels always means better photos." Megapixels describe how many picture points there are, not how good each one is. Light, sensor size and the lens matter too.
- "RAW files look worse." A RAW file looks flat before editing because the camera has not processed it yet. That flat look is what gives you room to edit.
Why professionals care about this
Professionals think of the camera as a chain: lens, shutter, sensor, processor, file. When a photo goes wrong, they ask which link caused it. Not enough light reaching the sensor? Shutter open too long, so movement became blur? Understanding the chain turns a confusing problem into a question you can fix.
Practical examples
A photo that looks too dark
- Situation
- You photograph a friend in a dim room, and the picture comes out dark.
- What to do
- You move your friend next to a window before taking the photo again.
- Why it works
- The sensor can only record the light that reaches it. More light on your friend means bigger readings from the photosites.
- Result
- The new photo is brighter and cleaner, without changing any camera settings.
Wedding photos that need editing
- Situation
- A wedding photographer knows the hall has mixed lighting that can turn skin colors orange or green.
- What to do
- She sets the camera to save RAW files as well as JPEGs.
- Why it works
- RAW files keep more of the sensor's information, so colors can be corrected properly later.
- Result
- Skin tones can be fixed accurately on the computer without damaging the photo.
Key points
- A digital camera lets light in through the lens, measures it with a sensor and turns it into a file.
- The aperture controls how much light passes; the shutter controls how long it reaches the sensor.
- A sensor is made of millions of photosites that each measure brightness.
- A Bayer filter (red, green and blue) lets the sensor record color; demosaicing fills in the missing colors.
- The image processor turns sensor data into a finished photo, saved as JPEG, RAW or both.
Frequently asked questions
How does a digital camera take a picture?
What is a photosite?
Why do camera sensors use red, green and blue filters?
What is the difference between a DSLR and a mirrorless camera?
Conclusion
Every photo travels the same path: light through the lens, a controlled opening and timing, measurement by the sensor, and processing into a file. Next, you will meet the buttons and dials that let you control this process.
Finished reading? Track your progress through Photography foundations.