When an atom absorbs energy from any external source, it goes to excited state. When it come back to ground state it emits that energy in Ultra violet, Infrared or visible region. Normally tungsten filament emits light in uv region when it jumps from excited state to ground state. These photons hit the phosphor coating the inside of the fluorescent tube, and this phosphor creates visible light.