A LED will only produce light when current is passing through it.
If you wish to light a LED when passing through some other part of the circuit, in order for us to help, you will need to give more information.
AC, DC, amperage, voltage, rate of curent change etc.