We will discuss joint work with M. Mustata and T. Yasuda on jet schemes and singularities of pairs. We describe how to compute some of the invariants of singularities using jet schemes. As an application, we are able to give a proof for the inversion of adjunction conjecture, when the ambient space is smooth.