A pinhole camera is eseentially a light-sealed box with a small opening on one face and a light screen on the opposite face. When light reflects off the environment and enters the pinhole, it hits the light screen, creating an inverted image. This image is very faint, so we use a digital camera with a long exposure time to caputre it.