HubSpot interview question

how do you use callback functions?