Optical parametric oscillator is an attractive way of generating tunable mid-infrared light in the spectral range where lasers simply do not exist—for the needs of spectroscopy, medical applications, remote sensing, etc. We will go through the fundamentals of the optical parametric oscillator first and then introduce the related new phase-matching, cavity design, and spectroscopic techniques.