Source: https://gcomte.perso.math.cnrs.fr/M2/CoursM2RGeometrieAlgebrique.pdf