As electricity runs through the filaments in a space heater, the electrical energy is converted into heat (thermal energy).
(electricity; runs; ) (the electrical energy; is converted; into heat)
electricity the electrical energy
runs is converted
into heat