Performing an action
One example of a function that performs an action is a function that causes the computer to emit an audible beep.
This function would not need to return an answer, because that is not the purpose of the function.
The purpose is simply to cause the computer to beep.
Another example is a function that displays something on the computer screen.