Exactly where do we use recursion?

exactly where do we use recursion? and why?