Caterpillar interview question

Explain about life cycle hooks in lightning web component