Capacitors take time to discharge. Using them with a resistor at the base of a transistor allows them to slow down the time it takes a BJT to turn off.
The 2N3904 is very popular NPN Bipolar Junction Transistor (BJT). Therefore, I use them in many of my videos.
The pin layout and direction of voltage and conventional current flow (positive to negative) is shown in the first diagram.
Amazon affiliate ad. Learned a lot from this book.
As an Amazon Associate I earn from qualifying purchases.