According to quantum theory of light, light has dual nature, it acts both as particles as well as wave. Light is composed of particles called photons, which exhibit the wave like properties. It can be proved from experiments like diffraction, interference etc.
It was found through those experiments that light is an electromagnetic wave that travels through the space with the speed of light. The frequency of the light is related to wavelength according to
ν=cλ
But as particle nature, example is photoelectric effect, which says that
when a light falls on a metal and after a certain binding energy is overcomed,
electron is emitted.