React web app are actually a collection of independent components, which runs according to the interaction made with them. Every component has its own lifecycle, ReactJS lifecycle of components can be defined as the series of methods that are invoked in a different stage of components.
Hooks allow function components to access in a different way.