A pinhole camera is a simple camera without a lens, using a small aperture to project an image onto a light-sensitive surface. It relies on the principles of optics and the ray aspect of light to create an inverted, real image of the scene in front of it.