2N3904 is a NPN transistor hence the collector and emitter will be left open (Reverse biased) when the base pin is held at ground and will be closed (Forward biased) when a signal is provided to base pin. 2N3904 has a gain value of 300; this value determines the amplification capacity of the transistor.