When signaled by the engine control unit the fuel injector opens and sprays the pressurised fuel into the engine. The duration that the injector is open (called the pulse width) is proportional to the amount of fuel delivered.