A callback is a JavaScript function passed to some method as an option or an argument. The Callback is a function that needs to be executed after another function has finished executing.