the present invention relates to a source for emitting broad spectrum light of controllable frequency comprising boron nitride nanotubes with defects caused by the vacancy of a boron atom in the tubular structure and wherein the source is further provided with means for producing an electric field perpendicular to the tube . the invention can be used as a field - effect transistor or as a source for converting energy of an incoming beam .