Cany anybody give me a clear explanation of how callbacks are used.