Electro–optics is a branch of electrical engineering, electronic engineering, materials science, and material physics involving components, electronic devices such as lasers, laser diodes, LEDs, waveguides, etc. which operate by the propagation and interaction of light with various tailored materials. It is closely related to photonics, the branch of optics that involves the application of the generation of photons. It is not only concerned with the " electro–optic effect ", since it deals with the interaction between the electromagnetic (optical) and the electrical (electronic) states of materials.