When there is an electric current in a resistor, the resistor gets hot. Electrical energy is transferred to thermal energy, which heats the resistor. This is called the heating effect of a current.
You can notice this in a toaster, a kettle or an electric heater, where a wire with a high resistance gets hot when a current passes through it. Even the wires in a phone charger warm up a little when they are used.
The larger the current, the greater the heating effect.