Spring Rain Interview Question

What is DOM? What is hook?