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).
2N7002DWH6327XTSA1 by Infineon: N-CHANNEL FET with 60V DS Breakdown Voltage, 0.3A ID, and 3ohm RDS. Ideal for SWITCHING applications in small outline packages with GULL WING terminals.