We say such things because light sometimes behaves like a wave, and at other times, like a particle.
Work Step by Step
Experiments involving diffraction, interference, and polarization demonstrate the wave characteristics of light. Experiments such as the photoelectric effect and Compton scattering demonstrate the particle characteristics of light. Light is not just a wave or just a particle, but shows properties of each.