A gearbox is technically a component of the transmission. The gearbox is an enclosed gear train, while the transmission is the entire power transmission system (including the gearbox).