In this chapter, we rst introduce the basic concepts of light-matter interaction and laser principles. Next, we discuss the theory of semiconductor pn junctions and its main properties. Finally, the operating principles and the basic structures of commonly used optoelectronic devices, such as LEDs, LDs, photodetectors, and photomultipliers, are presented.