This simple circuit serves to identify the terminals of a PNP transistor. For NPN transistors, just invert the LED and the power supply. When the clamp connections are at the correct terminals, the LED lights up only when pressing S1. The circuit also serves to identify open or shorted transistors. The circuit is from the book Science Fair Projects by Newton C. Braga.