I learn about events from yii2 doc.

I know how it works, but i don’t know where to use it and how to use it in my development.There is example of send email notification but i want a solid example which clear the idea where to use and how to use it .

Thank you in advance .