Define the function of the completion handler.
Completion handlers are just functions passed as parameters to other functions. They are used to dealing with asynchronous tasks since we do not know when they will end. Completion handlers tell an application when an operation, such as an API call, has been completed. The program is notified that the next step needs to be completed.
