2N2222A by Texas Instruments is a small signal NPN bipolar junction transistor (BJT) with a max collector-emitter voltage of 40V and a max collector current of 0.8A. It is commonly used for switching applications due to its fast turn on/off times (35ns/285ns) and high transition frequency (300MHz).
IRLML6402TRPBF by Infineon is a P-CHANNEL FET for SWITCHING applications. It features a 20V DS Breakdown Voltage, 22A IDM, and 0.065 ohm RDS(on). With a small outline package and matte tin finish, it operates in temperatures from -55 to 150 °C.
FIXED POSITIVE SINGLE OUTPUT STANDARD REGULATOR; No. of Terminals: 3; Package Code: TO-220; Terminal Form: THROUGH-HOLE; Maximum Input Voltage Absolute: 35 V; Maximum Voltage Tolerance: 5 %;
NPN; Configuration: SINGLE; Surface Mount: NO; Nominal Transition Frequency (fT): 300 MHz; Maximum Power Dissipation (Abs): .5 W; Maximum Collector Current (IC): .8 A;