Spring Rain interview question

What is DOM? What is hook?