Photons are not particles, rather they are packets of energy. Energy does not have mass, therefore, photons do not have mass. It can rather be counter-intuitive considering how photons behave like particles (bounce off surfaces, collide with each other). If you want to read more, go search for...