Modern-day vehicles use helical gears and synchromesh gadgets while in the gearboxes, that synchronize the rotation of gears which have been going to mesh. This eradicates clashing in the gears and will make gear shifting simpler. The output from your engine is sent into the gearbox using a clutch shaft. https://automobilegearbox52739.elbloglibre.com/34123167/the-smart-trick-of-automobile-gearbox-that-no-one-is-discussing