Cognizant interview question

What is hooks in react?