A pinhole is a small hole that focuses light, similar to a lens.

What is pinhole photography?

Pinhole photography is the art of photography using a pinhole / aperture, without the need for lenses. This works by allowing light to pass thru a single point and the image appears on film / screen / sensor (inverted.)
howpinholeworks

Field of view / zoom

The field of view becomes wider as the distance from the pinhole (aperture) to the sensor (film) decreases. Conversely, zoom is achieved by moving the pinhole (aperture) farther from the sensor (film).

FocalLengthDiagram