Modern automatic gearboxes have dual clutches and two separate sets of gears for even and odd numbers. You alternate between them as you shift up and down. Shifting is faster and smoother.
(The system isn’t perfect. If you switch to manual selection of gears the transmission computer sometimes guessing wrong — while you’re in 3rd and accelerating it’ll get 4th ready for on the even-numbers clutch, so if you suddenly brake and shift down there is a longer delay while the transmission shifts to 2nd instead.)
Here’s Audi’s marketing material on their version: https://m.youtube.com/watch?v=l_as29ym51M