The image formed by a pin-hole camera is always inverted. Why?

The image formed by a pin-hole camera is always inverted. Why?