Get rid of all the sticky starch rice has and separates the grains.

As above and also cools it down so it doesn't continue to cook.

 

It's the same if you pre boil noodles for a noodle stir-fry.  When you drain them in a colander you should rinse them with cold water so that they don't continue to "cook" before they go back in the wok.

Joono