A Pinhole Makes a Picture on the Wall
Long before cameras with film or screens, people noticed a strange thing. If a dark room had one tiny hole in a wall, a picture of the outdoors could appear on the opposite wall. The picture glowed in color, but it was upside down.
This effect is called a camera obscura, which means "dark room" in Latin. It works because light travels in straight lines. Light from the top of a tree passes through the hole and keeps going downward, so it lands low on the far wall. Light from the bottom of the tree travels upward and lands high. That is why the image is flipped.
The hole must be very small. A big opening lets in light from too many directions, and the picture turns into a blurry glow. A tiny hole keeps the picture sharp, but the image is dim, so the room must be quite dark.
Artists and scientists used the camera obscura for hundreds of years. Some artists traced the image to help them draw buildings and landscapes. Later, inventors added a lens to make the picture brighter, and they found a way to catch the image on special paper. That step led to photography.
You can find the same idea inside every camera today.