Can someone please explain the purpose do a ballast resistor and the symptoms of a bad resistor?

Thanks, Bob