The electronic control module (ECM) or powertrain control module (PCM) is the main computer that controls ... it oversees the electrical system of the car, but focuses on engine performance.
A car diagnostic test is a digital analysis of your car’s computer systems and components. The test scans components and systems to check for issues with the engine, transmission, oil tank, throttle, ...