"The smallest particle of light that is known so far is called a photon. Photons are part of an electron.
grey_whiskers comment: !!
Sorry, you asked for it:"
I really don't know what you mean by "Grey whiskers comment".
My supposition is the the comment Sounds as if it is true but in no way is it true.
If my supposition is true then allow me to explain.
When the electrons in a molecule are energized they don't give off or release Photons.
When the electrons in a molecule are de-energized they give off light(photons) and heat.
Therefore, one of the particles contained in electrons are photons.
Check it out. If I am wrong I will de-energize some electrons by building a fire.
It sure looks like you phrased this wrong. It is when they are energized that they CAN give off photons, as they return to the orignal energy state in which they began.
The electron is not PART of the electron, intrinsically.
A photon represents a certain packet, or quantum, or discrete, known quantity of energy which can be absorbed by the electron during its journey through life :-)
When the electrons in a molecule are excited to a higher energy level, they will give off or release a photon in the process of reverting to their original energy level. That photon corresponds to the difference in energy between the two energy levels.
Have you considered looking in an introductory Chemistry textbook (or even Wikipedia) and looking at Lyman series, or googling for Ballmer series?
The photon represents a release of energy when an electron lowers its energy; you can have the electron absorb a photon when it jumps to a higher energy state as well. See for example atomic absorption spectroscopy...
It gets far more complicated that the introductory stuff, of course...and in molecules the situation can get much more involved. But the principles are covered well enough for now by the introductory stuff.
Cheers!