Both light and matter can possess particle properties and wave properties at the same time.
This quantum behavior was proposed by the French physicist Louis De Broglie in 1924 in his doctoral thesis when proposing that all matter has an associated wave, and light did not escape from that behavior. Then this was empirically tested in various experiments where light behaved as a photon (particle) and in others as particles.
Einstein also demonstrated this fact, however, in spite of being observed this behavior several times, it could not have been done simultaneously, until in 2015 a group of scientists from the Federal Polytechnic School of Lausanne (Switzerland), succeeded to perform an experiment and capture for the first time the image of the wave-particle duality of light.