Most of us know Photography as ‘taking a nice picture with a Camera’, but technically, it is capturing light in any given moment and saving it back on film (link: what is photo film) or digital record.
The first permanent photograph was captured in 1826 by Joseph Nicéphore Niépce in France. He took a photo from outside his window (attach the photo).
But the camera itself was invented a lot earlier. The ancient Greeks thought our eyes emitted rays, like a laser, which enabled us to see but in the 10th Century, a Muslim astronomer named Ibn al-Haitham discovered how light actually works and can be used to reflect an image. He invented the first pin-hole camera called the Camera Obscura.