Photons are tiny packets of light and have energy in the form of electromagnetism. They don’t have mass, but they do have momentum – a property in physics that’s usually attributed to an object’s mass. However, the momentum of a photon isn’t dependent on mass, but on its frequency. One way of imagining a photon is not to think of it as a particle, but as a little packet of energy made of oscillating electric and magnetic fields. Like any wave, it has a frequency which determines the type of radiation it makes up. If it’s a low frequency it might be radio waves, whereas a high frequency could be X-rays.
Another odd effect that makes light ‘appear’ to have mass is that it interacts with gravity. For instance, light follows