Help Me With Promises in JS

I study promises in here: https://javascript.info/promise-basics#tasks

And there is a solution for 3rd exercise in sandbox: https://plnkr.co/edit/Q1jyGXvy9INMRG3Y?p=preview&preview

My question is: what is the point of setTimeout inside of promise? Why code breaks when I delete setTimeout?