ReactJS hook related interview questions

ReactJS introduced hook from the React version 16.8 and it got lot of attention in the developer community. It allows to use state and other React features without using class. Following are some ReactJS hook related interview questions and answer:

Why it is recommended NOT to use hooks inside loops, conditions, or nested functions?

Why hooks are NOT called from regular JavaScript functions?