Light contains characteristics of both waves and particles. Particles are described as packets of energy, which are called photons. When light rays travel from one medium to another, like air to water, these linear paths are altered. So in the continuity of its motion, light travel in waves.
Sir Q#23's answer is wrong 6:15 A pinhole camera does not have a lens. In fact, that's what makes it a pinhole camera! A pinhole camera is a simple optical device that projects an inverted image of the outside world onto a surface inside the camera, without using a lens. Instead, it uses a small pinhole (a tiny aperture) to focus the light. So, no lens is needed in a pinhole camera - just a tiny pinhole to focus the light!
Light contains characteristics of both waves and particles. Particles are described as packets of energy, which are called photons. When light rays travel from one medium to another, like air to water, these linear paths are altered. So in the continuity of its motion, light travel in waves.