When an electric current passes through a tube of light, the mercury vapor stored inside the tube tends to heat up and emits ultraviolet light. This UV light then passes through the phosphorus coating on the glass tube and gets converted into visible light which is then utilized by the plants. This is how fluorescent grow lights function.