Most cars contain embedded systems called Electronic Control Units (ECU). These ECUs control the electrical systems inside a car like engines or brakes. Some cars can have more than 100 of these ECUs inside.
These ECUs often contain complex software to do many different tasks in your car. And they have to do this while keeping you safe.
To help run this software in a safe and efficient way, ECUs often use operating systems.