ECUs are responsible for controlling the fuel injection system and other engine functions, such as ignition timing, by receiving input from various sensors to determine the optimal fuel and air mixture.