Why does knowing what the power is matter?
Power is heat
Heat kills electronics
A ¼ Watt resistor can dissipate, well, ¼ Watt of heat. If you ask it to do any more than that you will let the smoke out.
The same thing applies to all electronic parts