The document discusses recursive functions for tasks and values. It provides an example of a recursive function called write_vertical that writes a number vertically with each digit on a new line. It traces the recursive calls of write_vertical(123) to show how recursion works. The document also discusses an example power function that uses recursion to calculate powers. It explains how recursion uses stacks to save information between function calls and can cause stack overflows with infinite recursion.