State the working of a pinhole camera?

State the working of a pinhole camera?