The ECU or Engine Control Unit controls all aspects and function of your cars engine. Pretty much every car since 1992 have an engine management unit controlling at the very least fuel/timing.
Modern demands for fuel economy and strignent emissions requirements the computer has evolved into a complex system.