A
callback is a way for one piece of code to ask another piece of code to do something for it, like calling a function to get a result or perform an action. It's like asking a friend to help you with a task and waiting for their response or
"callback" to know if it was successful or not.
Full definition