[Engineer...] if there is no absorbtion.. how do you explain the speed of light slowing down in glass???
[qin].... you have a few misunderstandings about light.
1. Light has 2 natures... but can only show 1 at any one time... it's EITHER a wave OR a particle.... NEVER BOTH.,,
2. we don't know what MASS it has... we say that it has ZERO rest mass as to comply with Einstein's equation of Mass increase at high speeds. As we speed up.. anything with mass (no matter how small) will 'gain' mass.. when we get to the speed of light.. our mass will be INFINITE... but hang on... Light travels at the speed of light... so if it's REST mass is ZERO... well ZERO x infinity is... still ZERO... so Einstein's equation holds true..... So LIGHT's mass is 'mathematically' ZERO..at all times....
Now to answer your question... [Engineer] is almost right... but.. glass's molecules, and electron orbits are structured is such a way, that when a photon hits an electron, and boosts it up to a higher level... that electron jumps back down, and emits another photon that has the SAME property as the original photon that hit it in the first place... that is, same energy, same angle.... So that it appears that the light passed through unobstructed.
The time that electron took to jump up (absorbing the photon), and fall back down (emitting the photon)... is the 'delay' time of light travelling through glass.... you see.. when the photon jumps from one electron (in one molecule) to the next electron (in another molecule)... it's travelling at 'c'.... the fact that light 'slows' down in glass (and other media).. is due to this 'delay' time.. of the electron absorbing and re-emitting the photon.
Hope this has helped.