We introduce Lie groupoids, Lie algebroids and Lie pseudogroups and we describe their relation with differential equations and, in particular, the problem of integration of vector fields.