However, it is rare for resistors and caps to "burn up". Most likely is a fuse. Or it could be a diode, or transistor, or integrated circuit or other semiconductor. In fact it could be any one or more of many things.
What it actually is might be something else, and unlikely to be guessable by us based on a few vague details. Get your multimeter out and start diagnosing.