Two clutches, one holding the odd gears and one the even, so the next ratio is already engaged and waiting. Shifts land in milliseconds, which is why it displaced the manual in most performance cars.
Dual-clutch transmission (DCT)
Drivetrain
in short