In this talk, I will talk about the theory of large deviations. After a general introduction, I will present some recent developments on the large deviations associated with a Markov process and on applications for thermodynamic uncertainty relations.