Dear student
Pinhole camera is a light proof box which is without lens. Light enters inside it by a small pinhole on one of sides and strikes opposite side where it projects inverted image of object
A pinhole camera effect can be observed naturally.
Small pinholes formed by tree leaves creates images of the sun on flat surface which is known as natural pinhole camera
With regards