A cars ECU is like the brain. It controlls how much of everything it needs to keep it running based on a number of parameters, for example fuel input and ignition timing. It recieves signals from sensors and valves from within different sections of the engine to help it do this. The more the accelerator is pressed down, the more fuel the ECU has to inject to keep the air/fuel ratio the same.