Some of the electrical energy is converted into chemical energy in the battery and the rest is wasted as heat.
(Some of the electrical energy; is converted; into chemical energy) (the rest; is wasted; as heat)
Some of the electrical energy the rest
is converted is wasted
into chemical energy
as heat