it sets a base event in the ECU that the engine is starting, injectors fire what you can call "priming shots" into the ports which help for faster start - it does pull back timing to base for smoother start, but the real deal is that after starting the ECU sees the event completed and switches to control mode.
different manufacturers are different - this is unique to Toyota, in Honda the engine wont start as the injectors wont fire.