We will give an introduction to the geometry of loop groups and affine Grassmannians both in the analytic/holomorphic and algebraic approaches. The aim is to explain their role in Hecke transformations of vector bundles on curves and in the Geometric-Satake equivalence.