Electrons accelerated along the tube collide with mercury atoms and excite them causing their orbiting electrons to be promoted to a higher energy level. When these drop back down, most of the photons emitted are in the ultra violet part of the spectrum. When the ultra violet photons are absorbed by the phosphor coating, the phosphor atoms are excited and they emit photons over a larger range of wavelengths in the visible part of the spectrum.