So, some of the electrical energy is lost because it is changed into heat energy.
(some of the electrical energy; is lost; because it is changed into heat energy) (it; is changed; into heat energy)
some of the electrical energy it
is lost is changed
because it is changed into heat energy
into heat energy