The PN2907 is manufactured in a plastic TO-92 case. When looking at the flat side with the leads pointed downward, the three leads emerging from the transistor are, from left to right, the emitter, base, and collector leads. Here is an image showing the pin diagram of this transistor.
Complementary NPN transistor
The complementary NPN transistor to the PN2907 is the PN2222.
SMD Version of PN2907 transistor
The 2SB710A (SOT-23), BCW68 (SOT-23), FMMT2907 (SOT-23), FMMT2907R (SOT-23), KN2907S (SOT-23), KTN2907S (SOT-23), KTN2907U (SOT-323), MMBT200 (SOT-23), MMBT2907 (SOT-23), PMBT2907 (SOT-23) and PMST2907 (SOT-23) is the SMD version of the PN2907 transistor. These transistors are of the same type, have similar parameters and are designed for surface mounting.