The fundamental chemical, redox, electrochemical, photoelectrochemical, optical and optoelectronic features of carbon nanotubes are surveyed with particular emphasis on the most relevant applications as electron donor/electron acceptor or as electron conductor/hole conductor materials, in solutions and in the solid state. Methods that aim at p- and n-doping as a means to favor hole or electron injection/transport are covered as well (critical review, 208 references).