why use callbacks

I used callbacks when I was building a user interface. I let each class build its area of the interface with various input fields and then used callbacks to get the info back to the class while the user was interacting with the gui.