This chapter is devoted to one of key phenomena in the field of spin physics, namely, resonant absorption of electromagnetic waves under conditions where the Zeeman splitting of spin levels in magnetic field is equal to photon energy. This method is particularly important for identification of nuclear spin effects, because resonance spectra provide fingerprints of different involved spin species and make it possible to distinguish different nuclear isotopes. As discussed in this chapter the nuclear magnetic resonance provides also an access to local magnetic fields acting on nuclear spins. These fields are caused by the magnetic interactions between the nuclei and by the quadrupole splittings of nuclear spin states in anisotropic crystalline environment. Manifestations of spin resonance in optical responses of semiconductors–that is, optically detected magnetic resonance–are discussed.