Physics of Nonlinear Optics