The Higgs field is thought to be a field of energy that exists throughout the universe. This field is what gives mass to particles. The Higgs field interacts with all massive particles, including the photon. The interaction between the Higgs field and the photon is what gives the photon its mass.