The P2N2222AG is a NPN Silicon Bipolar Transistor, designed for use in linear and switching applications.
Bipolar (BJT) Transistor NPN 40V 600mA 300MHz 625mW Through Hole TO-92-3
The PN2222ABU is a 40V NPN Bipolar (BJT) Single Transistor for use as a medium power amplifier and switch requiring collector currents up to 500mA. This product is general usage and suitable for many different applications.