Nowadays, cars come with complex direct-shift gearboxes. Most car manufacturers install DSG gearboxes for increased speed and to switch gears fastly.
https://bobwatson.com.au/direct-shift-gearbox/