From Science Line :
It would seem that photons would be matter whereas the waves wouldn't. It turns out that for both theories light isn't matter. A photon is not matter because it has no mass. This is different from matter such as electrons and neutrons which have masses.