Working of light emitting diode(LED)