Transmission for transmitting a torque generated by a drive motor to at least one front and/or one rear drive axle (14, 16) of an agricultural or industrial commercial vehicle, wherein the transmission comprises a drive element and a first output element and a main transmission unit and an intermediate transmission and a reversing unit, and the main transmission unit comprises a first planetary gear set with a first sun gear, a first ring gear, a first planet carrier and a first planetary set, and a second planetary gear set with a second sun gear, and a third planetary gear set with a third sun gear and a third planetary set, wherein the intermediate transmission has a fifth planetary gear set with a fifth sun gear, a fifth ring gear, a fifth planet carrier and a fifth planetary set, and the reversing unit comprises a fourth planetary gear set with a fourth sun gear, a fourth ring gear, a fourth planet carrier and a fourth planetary set, and the intermediate transmission comprises exactly two switching elements (C4, C5), and the reversing unit comprises exactly two switching elements (B4, C3), and the reversing unit is disposed in the direction of the force and torque flux downstream of the main transmission unit, characterized in that the second and the third planetary gear set (80, 90) have a first common planetary set and a first common ring gear and a first common planet carrier, the main transmission unit comprising exactly five switching elements (B1, B2, B3, C1, C2), wherein the switching elements (B1, B2, B3, C1, C2) are a first brake and a second brake and a third brake and a first clutch and a second clutch, and at least two switching elements (B1, B2, B3, C1, C2) of the main transmission unit and exactly one switching element (C4, C5) of the intermediate transmission and exactly one switching element (B4, C3) of the reversing unit are activatable in combinations of at least four switching elements (B1, B2, B3, B4, C1, C2, C3, C4, C5) so as to establish exactly twelve forward gears between the drive element and the first output element. and the drive element is connected to the first ring gear, and the drive element is releasably connectable to the third sun gear by way of the first clutch, and the first planet carrier is releasably connectable to the second sun gear by way of the second clutch. wherein the intermediate transmission has a fifth planetary gear set with a fifth sun gear, a fifth ring gear, a fifth planet carrier and a fifth planetary set, and the reversing unit comprises a fourth planetary gear set with a fourth sun gear, a fourth ring gear, a fourth planet carrier and a fourth planetary set, and the intermediate transmission comprises exactly two switching elements (C4, C5), and the reversing unit comprises exactly two switching elements (B4, C3), and the reversing unit is disposed in the direction of the force and torque flux downstream of the main transmission unit, characterized in that the second and the third planetary gear set (80, 90) have a first common planetary set and a first common ring gear and a first common planet carrier, the main transmission unit comprising exactly five switching elements (B1, B2, B3, C1, C2), wherein the switching elements (B1, B2, B3, C1, C2) are a first brake and a second brake and a third brake and a first clutch and a second clutch, and at least two switching elements (B1, B2, B3, C1, C2) of the main transmission unit and exactly one switching element (C4, C5) of the intermediate transmission and exactly one switching element (B4, C3) of the reversing unit are activatable in combinations of at least four switching elements (B1, B2, B3, B4, C1, C2, C3, C4, C5) so as to establish exactly twelve forward gears between the drive element and the first output element. and the drive element is connected to the first ring gear, and the drive element is releasably connectable to the third sun gear by way of the first clutch, and the first planet carrier is releasably connectable to the second sun gear by way of the second clutch.