Any resistor in a circuit that has a voltage drop across it dissipates electrical power. This electrical power is converted into heat energy hence all resistors have a power rating. This is the maximum power that can be dissipated from the resistor without it burning out.