Several hundred thousands of tons of ZnO are used by per year, e.g. as an additive to concrete or to rubber. In the field of optoelectronics, ZnO holds promises as a material for a blue/UV optoelectronics, alternatively to GaN, as a cheap, transparent, conducting oxide, as a material for electronic circuits, which are transparent in the visible or for semiconductor spintronics. The main problem is presently, however, a high, reproducible and stable p-doping. We review in this contribution partly critically the material growth, fundamental properties of ZnO and of ZnO-based nanostructures, doping as well as present and future applications, with emphasis on the electronic and optical properties including stimulated emission.