Deloitte interview question

Explain lifecycle hooks in LWC.