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).
Infineon BSS123NH6327XTSA1 is a N-CHANNEL FET with 100V DS breakdown voltage, 0.19A ID, and 6 ohm RDS(on). Ideal for small outline applications requiring high drain current and low on-resistance. AEC-Q101 compliant for automotive use.