Relation Of "application Life Cycle" With The "run()" Method?

on this page of yii guide, a sequence of steps is labeled "Application Life Cycle". I got a little bit curious about it. I want to know where does these steps lie in the yii application bootstrap file??

For example, when does CApplication::preinit(); and CApplication::init(); get called?? During the execution of CWebApplication::run() or before it when CWebApplication is being instantiated?

I know that this is a rather theoretical question and knowing this information may not be very helpful in actual web development for a beginner like me but still if someone can clear my confusion then I shall be very thankful to them. :)