Recursion involves calling a function from within itself. It has two phases - the winding phase where the function keeps calling itself, and the unwinding phase where the calls return back once the base case is reached. Recursion can be used to calculate things like factorials, sums, and powers by defining a base case and a general recursive case that calls itself with a reduced problem. Examples provided calculate factorials and powers recursively.