Many moduli spaces are constructed as quotients of group actions; this paper surveys the classical theory, as well as recent progress and applications. We review geometric invariant theory for reductive groups and how it is used to construct moduli spaces, and explain two new developments extending this theory to non-reductive groups and to stacks, which enable the construction of new moduli spaces.