Due to their strong field confinement, nanoscale optical resonators can enhance light-matter interactions considerably already for moderate quality factors of the resonances. This can give rise to appreciable nonlinear effects. When multiple such nanoresonators are arranged in an ordered ensemble, collective resonance effects can enhance these nonlinear effects even further. Metasurfaces, being formed by a two-dimensional lattice of nanoresonators, therefore open the door to many applications relying on nonlinear light generation or manipulation. In this lecture I will introduce to the basic effects, the typical materials and technological constrains as well as some application examples.