What is this small circuit board used for in a 12v light?
It looks like the LED will light up if the 12V lamp blows, so as all are in series and all lamps turn off if one blows, it is easier to locate the broken lamp by just looking at the LED. As it is in parallel with the lamp, it can be removed.