X by 2 interview question

What are hooks in react?