This book is based on lectures given at the Graduate Summer School of the 2015 Park City Mathematics Institute program, “Geometry of moduli spaces and representation theoryâ€, and is devoted to several interrelated topics in algebraic geometry, topology of algebraic varieties, and representation theory.