How Do Lenses Work?
What does a lens actually do to light?
The short answer is refraction. Light travels at different speeds through different materials. When it crosses from air into glass or plastic at an angle, it slows and changes direction. A curved surface means different parts of the light bend by different amounts, and that is how a flat sheet of glass becomes a lens.
Point a lens at the sun and you can burn a leaf. That is not a trick. The lens is gathering a wide spread of rays and squeezing them into one small spot.
What is the difference between convex and concave lenses?
People usually mean one of two shapes here, and they behave in opposite ways.
| Lens type | Shape | What it does | Where you see it |
|---|---|---|---|
| Convex | Bulges outward | Bends rays inward to a focal point | Magnifying glass, camera, human eye |
| Concave | Caves inward | Spreads rays outward | Glasses for nearsightedness, peepholes |
A convex lens can form a real image you can project on a wall. A concave lens cannot, which is why it is used to correct vision rather than to focus light onto a screen.
How do lenses in your glasses and eyes work?
Your eye has a built-in convex lens that focuses light onto the retina. If the eyeball is a little too long or the lens is too strong, the image lands in front of the retina and distant things blur. That is nearsightedness. Glasses fix it by putting a concave lens in front, which spreads the rays slightly before they reach your eye.
Farsightedness is the reverse, and a convex lens does the correcting.
How does a camera lens focus?
A camera lens is a stack of several lenses, not one. Moving groups of them back and forth changes where the rays converge, which is why a lens can focus on something close and then something far away. The aperture, a hole that opens and closes, controls how much light gets in and how much of the scene is sharp.
Why does a lens flip the image?
A simple convex lens forms an upside-down image. Your eye does this too, and your brain flips it back. Cameras do not bother, so the sensor records the scene inverted and the software or the photographer turns it right side up. It is one of those details that feels obvious once you notice it.
If you landed here because you are curious about optics, the next stop is how mirrors work, since reflection and refraction are the two halves of the same story.