Explain the concept of a 'callback function' and provide an example of its usage.
A callback function is a function that is passed as an argument to another function and is executed after a certain task is completed. It's often used to handle asynchronous operations, like when fetching data from a server.