Computers bring the different powertrains together. The computer in the car monitors speed, acceleration and other factors before deciding what to do. It does all this at incredible speed so you are unaware of the complex and ever changing decision processes of when to do what.