The electric energy lost when a current passes through a resistance
The electrical energy lost when current passes through a resistance shows up as heat energy. If the resistor has a value of R ohm and a current of I ampere passes through it, the power generated would be given as I^2 R. This much power is actually lost as heat energy and the resistor heats up due to this. This is also the reason why transmission lines are made of copper or aluminum. These metals have low resistance and hence less energy will be lost when current passes through them. This is also why we use copper or aluminum wires for electrical connections at home. When a very large passes through the wires actually melt, thereby breaking the circuit and preventing electrical hazards.
Hope this helps.