Capgemini interview question

what are react hooks and give us some examples?