The D882 is an NPN transistor that can handle voltages of up to 30V and currents of up to 3A, with a peak current of 6A for pulses of less than 5ms.
In the diagram below, two D882 application circuits are depicted.

D882 Application Circuit
The first is to use it as a switch. The emitter is grounded, and one end of the load is linked to the collector. The supply is connected to the other end of the load. A flyback diode is positioned anti-parallel to the load in the case of inductive loads to avoid voltage spikes from harming the transistor. To limit the base current, a base resistor is also added. The fast turn-off is aided by the addition of a tiny capacitor across the base resistor. A class AB amplifier is the second application. The output corresponds to the input. The B772 is a PNP transistor that works as a companion to the D882.