The explanation is as follows.
A photon is a type of elementary particle, the quantum of the electromagnetic field including electromagnetic radiation such as light, and the force carrier for the electromagnetic force.
In simple words, it is a unit energy packet which carries light energy or some other forms of energy.
Hope it helps.
All the best!