And if you don't store the answer in some kind of state, it's lost and computing the pure function was useless.
For example, a REPL keeps state in the messages it prints to the terminal and this state isn't visible in the pure function definitions and expression the program is concerned with.