The tip is insulated and when it touches the workpiece, the circuit is completed and the LED lights.
Too bad if you're machining plastic.