Harder-Narasimhan filtration and stability

I will discuss a certain canonical filtration on a vector bundle on a Riemann surface and explain one or two things it is good for. Generalizations to various settings that don't seem all that similar to this one will also be described.