The correct option is A rectilinear propagation of light
The pinhole camera is the simplest kind of camera. It just makes use of a tiny opening to focus all light rays within the smallest possible area to obtain an image. The image formed by a pinhole camera is always inverted and smaller in size when compared to the original object.
The pinhole camera works on the principle that light travels in a straight line. This property of light is called rectilinear propagation of light. If the light does not travel in a straight line the image cannot be formed in a screen.
When sunlight passes through the leaves of a tree, the gaps between the leaves act as the natural pinhole camera.These gaps are all kinds of irregular shapes. We only get the image because light travels in a straight line.