Not gonna lie, I don't understand this. What makes some photons different to others though?

*other than frequency